WifiP2pDirInfo(MacAddress, Byte[], Byte[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructor for Device Identity Resolution (DIR) Info generated based on the 128 bit Device Identity key.
[Android.Runtime.Register(".ctor", "(Landroid/net/MacAddress;[B[B)V", "", ApiSince=36)]
public WifiP2pDirInfo(Android.Net.MacAddress macAddress, byte[] nonce, byte[] dirTag);
[<Android.Runtime.Register(".ctor", "(Landroid/net/MacAddress;[B[B)V", "", ApiSince=36)>]
new Android.Net.Wifi.P2p.WifiP2pDirInfo : Android.Net.MacAddress * byte[] * byte[] -> Android.Net.Wifi.P2p.WifiP2pDirInfo
Parameters
- macAddress
- MacAddress
The MAC address of the P2P device interface.
- nonce
- Byte[]
Random number of 8 octets.
- dirTag
- Byte[]
Resolvable identity value of 8 octets derived based on the device MAC address, device identity key and P2P device MAC address. Tag = Truncate-64(HMAC-SHA-256(DevIk, "DIR" || P2P Device Address || Nonce))
- Attributes
Remarks
Constructor for Device Identity Resolution (DIR) Info generated based on the 128 bit Device Identity key. For details, refer Wi-Fi Alliance Wi-Fi Direct R2 specification Table 8.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.