TcpChannel.IsSecured Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a Boolean value that indicates whether the current channel is secure.

Namespace:   System.Runtime.Remoting.Channels.Tcp
Assembly:  System.Runtime.Remoting (in System.Runtime.Remoting.dll)

public bool IsSecured {
	[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure, 
		Infrastructure = true)]
	get;
	[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure, 
		Infrastructure = true)]
	set;
}

Property Value

Type: System.Boolean

A Boolean value that indicates whether the current instance is secure.

This property need not be set explicitly, as it is sufficient to set the ensureSecurity parameter of Configure(String, Boolean).

.NET Framework
Available since 2.0
Return to top
Show: