|
Helper.ToPhysicalAddress Method
|
Namespace: GSF.Net.SnmpAssembly: GSF.Net (in GSF.Net.dll) Version: 2.4.246-beta
Syntaxpublic static PhysicalAddress ToPhysicalAddress(
this OctetString address
)
<ExtensionAttribute>
Public Shared Function ToPhysicalAddress (
address As OctetString
) As PhysicalAddress
public:
[ExtensionAttribute]
static PhysicalAddress^ ToPhysicalAddress(
OctetString^ address
)
[<ExtensionAttribute>]
static member ToPhysicalAddress :
address : OctetString -> PhysicalAddress
GSF.Net.Snmp.Helper.ToPhysicalAddress = function(address);
View SourceParameters
- 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).
ExceptionsException | Condition |
---|
InvalidCastException | address length is not equal to 6. |
See Also