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




Gets or sets the community field in the message.

Syntax

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

Property Value

Initialized to "public" when the default constructor is used. This property is not used for version 3 packets.

Remarks

This property is used as a primitive type of authentication. The application can check for valid values when a version 1/2 RequestMessage is processed in the AgentMessageReceived delegate function.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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