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.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft