CORSSupport Property (.NET)

 

Type: Integer

 

Returns an integer indicating the level of Cross-Origin Resource Sharing (CORS) supported by the browser, as follows:

 

0 = No support

1 = XDomainRequest support

2 = XHttpRequest support

 

 

C# Example:

<html>The level of CORS supported by your browser is

<% BrowserObj browObj = BrowserObj.GetBrowser();

Response.Write(browObj.CORSSupport);

%>

</html>

 

See Also:

XMLHttpRequest Property (.NET)