internal static extern int WfdStartOpenSession( [In] IntPtr hClientHandle, [In] ref Dot11MacAddress pDeviceAddress, [In, Optional] IntPtr pvContext, [In] WfdOpenSessionCompleteCallbackDelegate pfnCallback, [Out] out IntPtr phSessionHandle );
public static Dot11MacAddress FromPhysicalAddress(PhysicalAddress phy) { Dot11MacAddress mac = new Dot11MacAddress(); mac.Value = phy.GetAddressBytes(); return(mac); }
internal static Dot11MacAddress[] ConvertPhysicalAddresses(PhysicalAddress[] phyAddresses) { int length = phyAddresses.Length; Dot11MacAddress[] array = new Dot11MacAddress[length]; for (int i = 0; i < length; i++) { array[i] = Dot11MacAddress.FromPhysicalAddress(phyAddresses[i]); } return(array); }
internal static PhysicalAddress[] ConvertDot11MacAddresses(Dot11MacAddress[] macAddresses) { int length = macAddresses.Length; PhysicalAddress[] array = new PhysicalAddress[length]; for (int i = 0; i < length; i++) { array[i] = Dot11MacAddress.ToPhysicalAddress(macAddresses[i]); } return(array); }
internal static extern int WfdUpdateDeviceVisibility( [In] ref Dot11MacAddress pDeviceAddress );
internal static extern int WfdOpenLegacySession( [In] IntPtr hClientHandle, [In] ref Dot11MacAddress pLegacyMacAddress, [In] IntPtr phSessionHandle, [In, MarshalAs(UnmanagedType.LPStruct)] Guid pGuidSessionInterface );
public static PhysicalAddress ToPhysicalAddress(Dot11MacAddress mac) { return(new PhysicalAddress(mac.Value)); }
internal static PhysicalAddress Dot11MacAddressToPhysicalAddress(Dot11MacAddress macAddress) { return(Dot11MacAddress.ToPhysicalAddress(macAddress)); }
internal static Dot11MacAddress PhysicalAddressToDot11MacAddress(PhysicalAddress phyAddress) { return(Dot11MacAddress.FromPhysicalAddress(phyAddress)); }