This documentation is archived and is not being maintained.

PeerName.IsSecured Property

Gets a Boolean value that specifies whether this is a secured peer name.

Namespace:  System.Net.PeerToPeer
Assembly:  System.Net (in System.Net.dll)

public bool IsSecured { get; }

Property Value

Type: System.Boolean
If true, this peer name is secured with a private key/ public key pair. Its name contains the Secure Hash Algorithm (SHA) hash of the public key of the user certificate of that peer machine. Otherwise, if false, the peer name has no associated identity.
Unless explicitly specified, the default value for all properties is null for reference types and zero (0) for properties of type int.

A peer name is considered secured if it is backed by a self-signed certificate.

Only the owner can register a secured peer name with PNRP.

Notes to Callers

Using a secured peer name does not ensure the overall security of the networking application. Security of the application is implementation-dependent.

.NET Framework

Supported in: 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.