Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
Show:
© 2015 Microsoft