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




Gets or sets the privacy password to be used in requests.

Syntax

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

Property Value

The privacy password to be used in request.

Remarks

If PrivacyPassword is not empty the encoded message contents will encrypted. In this case AuthenticationPassword must not be empty or a SecurityException will be thrown.

If PrivacyPassword is empty and the Security.AuthenticationPassword is not empty then the message will only contain authentication information and no encryption will be performed on the message.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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