public static void ThrowExceptionUsingLastError() { throw CreateExceptionUsingLastError(); }
private void ThrowOnInvalidHandle(SafeWinHttpHandle handle) { if (handle.IsInvalid) { WinHttpException.ThrowExceptionUsingLastError(); } }