WiFiDirectInformationElement
WiFiDirectInformationElement
WiFiDirectInformationElement
WiFiDirectInformationElement
Class
Definition
Represents information elements in a Wi-Fi Direct packet.
public : sealed class WiFiDirectInformationElement : IWiFiDirectInformationElementpublic sealed class WiFiDirectInformationElement : IWiFiDirectInformationElementPublic NotInheritable Class WiFiDirectInformationElement Implements IWiFiDirectInformationElement// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
An information element (IE) is a form of structured data which can be included in Wi-Fi Direct packets. IEs are formatted as a variable length value field preceded by type and length fields.
Constructors
WiFiDirectInformationElement() WiFiDirectInformationElement() WiFiDirectInformationElement() WiFiDirectInformationElement()
Creates a new WiFiDirectInformationElement object.
public : WiFiDirectInformationElement()public WiFiDirectInformationElement()Public Sub New()// You can use this method in JavaScript.
Properties
Oui Oui Oui Oui
A three-byte organization identifier used to indicate the organization which defined a vendor extension information element (IE).
public : IBuffer Oui { get; set; }public IBuffer Oui { get; set; }Public ReadWrite Property Oui As IBuffer// You can use this property in JavaScript.
OuiType OuiType OuiType OuiType
A one byte type value used in a vendor extension information element (IE) to distinguish between different IE formats defined by the same organization.
public : byte OuiType { get; set; }public byte OuiType { get; set; }Public ReadWrite Property OuiType As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
A one byte type value used in a vendor extension information element (IE) to distinguish between different IE formats defined by the same organization.
Methods
CreateFromBuffer(IBuffer) CreateFromBuffer(IBuffer) CreateFromBuffer(IBuffer) CreateFromBuffer(IBuffer)
Create an array of information elements from a data buffer.
public : static IVector<WiFiDirectInformationElement> CreateFromBuffer(IBuffer buffer)public static IList<WiFiDirectInformationElement> CreateFromBuffer(IBuffer buffer)Public Static Function CreateFromBuffer(buffer As IBuffer) As IList( Of WiFiDirectInformationElement )// You can use this method in JavaScript.
A array of information elements created from the buffer.
CreateFromDeviceInformation(DeviceInformation) CreateFromDeviceInformation(DeviceInformation) CreateFromDeviceInformation(DeviceInformation) CreateFromDeviceInformation(DeviceInformation)
Create an array of information elements from a DeviceInformation object.
public : static IVector<WiFiDirectInformationElement> CreateFromDeviceInformation(DeviceInformation deviceInformation)public static IList<WiFiDirectInformationElement> CreateFromDeviceInformation(DeviceInformation deviceInformation)Public Static Function CreateFromDeviceInformation(deviceInformation As DeviceInformation) As IList( Of WiFiDirectInformationElement )// You can use this method in JavaScript.
- deviceInformation
- DeviceInformation DeviceInformation DeviceInformation DeviceInformation
The device information object that contains the information elements.
A array of information elements created from the device information object.