Example #1
0
        private bool IsMfpNeogotiated(Guid wlanInterfaceId)
        {
            bool       negotiated = false;
            Win32Error retVal     = WlanGetMFPNegotiated(ref wlanInterfaceId, ref negotiated);

            if (retVal != Win32Error.ERROR_SUCCESS)
            {
                testLogger.LogError("WlanGetMFPNegotiated Returned " + retVal);
                throw InteropUtilities.GetExceptionForWin32Error(retVal);
            }
            return(negotiated);
        }