SnmpSharpNet.SnmpV3Packet.DiscoveryRequest C# (CSharp) Méthode

DiscoveryRequest() public static méthode

Build an SNMP version 3 packet suitable for use in discovery process.
public static DiscoveryRequest ( ) : SnmpV3Packet
Résultat SnmpV3Packet
        public static SnmpV3Packet DiscoveryRequest()
        {
            SnmpV3Packet packet = new SnmpV3Packet(new ScopedPdu()); // with a blank scoped pdu
            // looking through other implementation, null (length 0) user name is used
            // packet.USM.SecurityName.Set("initial"); // set user name to initial, as described in RFCs
            return packet; // return packet
        }