Skip to content

A small example of using the Windows Internet (WinINet) API to interrogate open internet handles for negotiated security protocols and ciphers.

License

Notifications You must be signed in to change notification settings

BL1NDX3N0N/WinINet-Connection-Security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WinINet Connection Security

A small example of using the Windows Internet (WinINet) API to interrogate open internet handles for negotiated security protocols and ciphers.

Usage:

IntPtr internetHandle = InternetServices.InternetOpen("Debug", 1, null, null, 0);
internetHandle = InternetServices.InternetOpenUrl(
    internetHandle, @"https://www.google.com/", null, 0, 2147483648, IntPtr.Zero);
SecurityInfo securityInfo = InternetServices.GetSecurityInfo(internetHandle);

// When creating internet handles make sure to free them once they are no longer needed.
InternetServices.InternetCloseHandle(internetHandle);

Locals View

All necessary functions have been wrapped for you and further documentation can be found below:

About

A small example of using the Windows Internet (WinINet) API to interrogate open internet handles for negotiated security protocols and ciphers.

Topics

Resources

License

Stars

Watchers

Forks

Languages