Cuemon .NET Framework
CanAccess Method (NetUtility)

The System.Net.WebRequest to check for a System.Net.WebResponse.
Determines whether the provided System.Net.WebRequest successfully can establish a System.Net.WebResponse.
Syntax
'Declaration
 
Public Shared Function CanAccess( _
   ByVal request As WebRequest _
) As Boolean
public static bool CanAccess( 
   WebRequest request
)

Parameters

request
The System.Net.WebRequest to check for a System.Net.WebResponse.

Return Value

true if the provided System.Net.WebRequest successfully can establish a System.Net.WebResponse; otherwise, false.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NetUtility Class
NetUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback