PowerSNMP for .NET CF
Username Field
See Also  Send comments on this topic.
Dart.Snmp Namespace > Security Class : Username Field




Gets or sets the username to be used in requests.

Syntax

Visual Basic (Declaration) 
Public Username As String
Visual Basic (Usage)Copy Code
Dim instance As Security
Dim value As String
 
value = instance.Username
 
instance.Username = value
C# 
public string Username
Managed Extensions for C++ 
public: string* Username
C++/CLI 
public:
String^ Username

Property Value

The Username to be used in requests.

Remarks

If a message to be sent is a Version 3 message, then Username must to set to a value known to the agent you are sending the request to. Otherwise a SecurityException will be thrown when the message is encoded for delivery over the network.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.