PeerName.IsSecured Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a Boolean value that specifies whether this is a secured peer name.
public:
property bool IsSecured { bool get(); };
public bool IsSecured { get; }
member this.IsSecured : bool
Public ReadOnly Property IsSecured As Boolean
Property Value
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
.
Remarks
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.