PowerSNMP for .NET CF
Passwords Constructor(String,AuthenticationProtocol)
See Also  Send comments on this topic.
Dart.Snmp Namespace > Passwords Class > Passwords Constructor : Passwords Constructor(String,AuthenticationProtocol)




authenticationPassword
Either null or the value used by the manager. Used for packet authentication.
authenticationProtocol
Specifies the authentication hash to use.
Initializes a new instance using authentication and no privacy.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal authenticationPassword As String, _
   ByVal authenticationProtocol As AuthenticationProtocol _
)
Visual Basic (Usage)Copy Code
Dim authenticationPassword As String
Dim authenticationProtocol As AuthenticationProtocol
 
Dim instance As New Passwords(authenticationPassword, authenticationProtocol)
Managed Extensions for C++ 
public: Passwords( 
   string* authenticationPassword,
   AuthenticationProtocol authenticationProtocol
)

Parameters

authenticationPassword
Either null or the value used by the manager. Used for packet authentication.
authenticationProtocol
Specifies the authentication hash to use.

Exceptions

ExceptionDescription
System.ArgumentExceptionA parameter is a string of 0 length, or authenticationPassword is null and privacyPassword is not.

Remarks

Instances of Passwords is added to AuthoritativeEngine.Users to enable SNMP version 3 authentication and privacy (decryption).

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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