PrivacyProviderExtensionToSecurityLevel Method |
Namespace:
Lextm.SharpSnmpLib.Security
Assembly:
SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.4.0+601762d0e653a71ebb69af963204dfbfb6c26b74
Syntax public static Levels ToSecurityLevel(
this IPrivacyProvider privacy
)
<ExtensionAttribute>
Public Shared Function ToSecurityLevel (
privacy As IPrivacyProvider
) As Levels
public:
[ExtensionAttribute]
static Levels ToSecurityLevel(
IPrivacyProvider^ privacy
)
[<ExtensionAttribute>]
static member ToSecurityLevel :
privacy : IPrivacyProvider -> Levels
Parameters
- privacy
- Type: Lextm.SharpSnmpLib.SecurityIPrivacyProvider
Return Value
Type:
LevelsUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPrivacyProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also