PowerSNMP for .NET
AuthoritativeEngine Class
Members  Example 




Holds authoritative engine information that is used by SNMPv3 authentication processing.
Object Model
AuthoritativeEngine Class
Syntax
<SerializableAttribute()>
Public Class AuthoritativeEngine 
   Inherits Engine
Dim instance As AuthoritativeEngine
[Serializable()]
public class AuthoritativeEngine : Engine 
[Serializable()]
public __gc class AuthoritativeEngine : public Engine 
[Serializable()]
public ref class AuthoritativeEngine : public Engine 
Example
The following example demonstrates adding a v3 user to an Agent's authorized users collection.
private void addUser(string username, string authPass, AuthenticationProtocol authProt, string privPass, PrivacyProtocol privProt)
{
    agent1.Security.AuthoritativeEngine.Users.Add(username, new User(username, authPass, authProt, privPass, privProt));
}
Private Sub addUser(ByVal username As String, ByVal authPass As String, ByVal authProt As AuthenticationProtocol, ByVal privPass As String, ByVal privProt As PrivacyProtocol)
    agent1.Security.AuthoritativeEngine.Users.Add(username, New User(username, authPass, authProt, privPass, privProt))
End Sub
Inheritance Hierarchy

System.Object
   Dart.Snmp.Engine
      Dart.Snmp.AuthoritativeEngine

See Also

Reference

AuthoritativeEngine Members
Dart.Snmp Namespace


Documentation Version 4.9
© 2016 Dart Communications. All Rights Reserved.
Send comments on this topic