Validate Connection

<< Click to Display Table of Contents >>

SmartConnect 2017

Validate Connection

Attempts to connect to the SmartConnect WCF REST Service.


Service uri:

To call the get map list method make a call to SmartConnect.svc/validate


There is no web.config or SmartConnect security on this method.


Implementation details:

This method connects to the SmartConnect WCF REST service. If a connection is successful the method returns the current server date / time


Return type:

The return type of this method is DateTime


Sample usage:


Dim request As System.Net.WebRequest = System.Net.WebRequest.Create("")

request.Credentials = New System.Net.NetworkCredential("username", "password", "domain")


 Dim response As System.Net.WebResponse = request.GetResponse()

 Return True


 Return False

End Try




System.Net.WebRequest request  = System.Net.WebRequest.Create("");

request.Credentials = new System.Net.NetworkCredential("username","password","domain");

try {

 System.Net.WebResponse response = request.GetResponse();

 return true; }

catch {

 return false; }