WebSocket.IsApplicationTargeting45 Method ()

.NET Framework (current version)

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

Note: This API is now obsolete.

Returns a value that indicates if the WebSocket instance is targeting .NET Framework 4.5.

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

[ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")]
public static bool IsApplicationTargeting45()

Return Value

Type: System.Boolean

Returns Boolean.

true if the WebSocket is targeting .NET Framework 4.5; otherwise false.

.NET Framework
Available since 4.5
Return to top