changes
This commit is contained in:
parent
62f8a49de8
commit
e5e0770bb7
@ -17,7 +17,7 @@ namespace Snmp2Mysql
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
SnmpGetter snmpGetter = new SnmpGetter("public", "127.0.0.1");
|
||||
SnmpGetter snmpGetter = new SnmpGetter("public", "172.16.2.1");
|
||||
snmpGetter.AddOid(1, "1.3.6.1.2.1.1.1.0");
|
||||
snmpGetter.AddOid(2, "1.3.6.1.2.1.1.3.0");
|
||||
SnmpGetterResultProvider res = snmpGetter.Exec();
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
@ -32,14 +32,6 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MySql.Data, Version=6.9.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\Debug\MySql.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SnmpSharpNet, Version=0.9.4.0, Culture=neutral, PublicKeyToken=b2181aa3b9571feb, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\Debug\SnmpSharpNet.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
@ -47,6 +39,12 @@
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="MySql.Data">
|
||||
<HintPath>dependencies\MySql.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SnmpSharpNet">
|
||||
<HintPath>dependencies\SnmpSharpNet.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
|
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user