Click or drag to resize

NetCheckMethod Class

The method of checking and determining the status of the internet connection
Inheritance Hierarchy
SystemObject
  Hellmade.NetNetCheckMethod

Namespace:  Hellmade.Net
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class NetCheckMethod

The NetCheckMethod type exposes the following members.

Constructors
  NameDescription
Public methodNetCheckMethod(String, String, HttpStatusCode)
Initializes a new instance of the NetCheckMethod class
Public methodNetCheckMethod(String, String, String, Boolean)
Initializes a new instance of the NetCheckMethod class
Public methodNetCheckMethod(String, String, NetCheckResponseType, HttpStatusCode, String)
Initializes a new instance of the NetCheckMethod class
Top
Methods
Fields
  NameDescription
Public fieldexpectedContent
The response content is used as a response check. Whether the whole content needs to match, or just a part of it, depends on the selected response type. Check is done on trimmed content, therefore whitespaces, newlines and tabs are ignored.
Public fieldexpectedHttpStatusCode
The expected response from the HTTP request when target destination can succesfully be reached.Only applicable if HTTP status code is the selected response type
Public fieldid
The ID of the method
Public fieldlink
The link the method uses for internet check
Public fieldresponseType
The response type that is used for checking for validity of the connection
Top
See Also