OwnerOption(Byte, Byte, PhysicalAddress, PhysicalAddress, Byte) Constructor
Creates a new instance of the OwnerOption class
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public OwnerOption(
byte version,
byte sequence,
PhysicalAddress primaryMacAddress,
PhysicalAddress? wakeupMacAddress = null,
byte[]? password = null
)
Public Sub New (
version As Byte,
sequence As Byte,
primaryMacAddress As PhysicalAddress,
Optional wakeupMacAddress As PhysicalAddress = Nothing,
Optional password As Byte() = Nothing
)
public:
OwnerOption(
unsigned char version,
unsigned char sequence,
PhysicalAddress^ primaryMacAddress,
PhysicalAddress^ wakeupMacAddress = nullptr,
array<unsigned char>^ password = nullptr
)
new :
version : byte *
sequence : byte *
primaryMacAddress : PhysicalAddress *
?wakeupMacAddress : PhysicalAddress *
?password : byte[]
(* Defaults:
let _wakeupMacAddress = defaultArg wakeupMacAddress null
let _password = defaultArg password null
*)
-> OwnerOption
Parameters
- version Byte
- The version
- sequence Byte
- The sequence number
- primaryMacAddress PhysicalAddress
- The primary MAC address
- wakeupMacAddress PhysicalAddress (Optional)
- The wakeup MAC address
- password Byte (Optional)
- The password, should be empty, 4 bytes long or 6 bytes long