AspNetWebSocketContext.IsLocal Property

.NET Framework (current version)

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

Gets a value that indicates whether an AspNetWebSocket message was sent from the local computer.

Namespace:   System.Web.WebSockets
Assembly:  System.Web (in System.Web.dll)

public override bool IsLocal { get; }

Property Value

Type: System.Boolean

true if the message is from the local computer; otherwise, false.

Exception Condition

The property is not implemented.

.NET Framework
Available since 4.5
Return to top