WiFiDirectInformationElement Class
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.
Represents information elements in a Wi-Fi Direct packet.
public ref class WiFiDirectInformationElement sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WiFiDirectInformationElement final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class WiFiDirectInformationElement final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WiFiDirectInformationElement
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WiFiDirectInformationElement
function WiFiDirectInformationElement()
Public NotInheritable Class WiFiDirectInformationElement
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
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() |
Creates a new WiFiDirectInformationElement object. |
Properties
Oui |
A three-byte organization identifier used to indicate the organization that defined a vendor extension information element (IE). |
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. |
Value |
The value of the information element. |
Methods
CreateFromBuffer(IBuffer) |
Create an array of information elements from a data buffer. |
CreateFromDeviceInformation(DeviceInformation) |
Create an array of information elements from a DeviceInformation object. |