HelperToPhysicalAddress Method |
Namespace: Lextm.SharpSnmpLibAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic static PhysicalAddress ToPhysicalAddress(
this OctetString address
)
<ExtensionAttribute>
Public Shared Function ToPhysicalAddress (
address As OctetString
) As PhysicalAddress
Dim address As OctetString
Dim returnValue As PhysicalAddress
returnValue = address.ToPhysicalAddress()
public:
[ExtensionAttribute]
static PhysicalAddress^ ToPhysicalAddress(
OctetString^ address
)
[<ExtensionAttribute>]
static member ToPhysicalAddress :
address : OctetString -> PhysicalAddress
Parameters
- address OctetString
- The OctetString object that holds the address.
Return Value
PhysicalAddressThe
PhysicalAddress object.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
OctetString. 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).
Exceptions
See Also