Export (0) Print
Expand All

WebSocket.IsApplicationTargeting45 Method

.NET Framework 4.5

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

Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
© 2015 Microsoft