[DllImport("wlanapi.dll", SetLastError = true)]
private static extern uint WlanGetProfile(
[In] IntPtr clientHandle,
[In, MarshalAs(UnmanagedType.LPStruct)] Guid interfaceGuid,
[In, MarshalAs(UnmanagedType.LPWStr)] string profileName,
[In] IntPtr pReserved,
[Out, MarshalAs(UnmanagedType.LPWStr)] out string profileXml,
[In, Out, Optional] ref WlanProfileFlags flags
[Out, Optional] out WlanProfileAccessFlags pdwGrantedAccess
);
Declare Function WlanGetProfile "wlanapi.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
WlanGetProfile(ClientHandle, pInterfaceGuid, profileName, IntPtr.Zero, out profileXml, ref flags, out grantedAccess);