| Dart.Snmp Namespace > Security Class : Security Constructor | 
Public Function New()
Dim instance As New Security()
public Security()public: Security();public:
Security();The Security class is used with Version 3 messages to provide message authentication and privacy. The Security object is not used or added to a message unless MessageBase.Version is SnmpVersion.Three. If a message to be sent is a Version 3 message, at a minimum you must set Security.User.Name to a valid user name for the Agent you are sending requests to.