System.Network.Wireless.secureConnection property

[ The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]

Gets whether the current connection is secure.

This property is read-only.

Syntax

bsecureConnection = System.Network.Wireless.secureConnection

Property value

A Boolean that receives the state of the current connection.

(TRUE)

The connection is secure.

(FALSE)

The connection is not secure.

Remarks

If the system has multiple network interfaces, only the active one is detected.

Examples

The following example demonstrates how to use the secureConnection property.

var mytext = "Secure: " + System.Network.Wireless.secureConnection;

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008
IDL
Sidebar.idl
DLL
Sidebar.Exe (version 1.00 or later)