Cassini Configuration API Documentation

ApplicationEntry.GetUrl Method 

Returns application url in the form of http://Hostname:port/DefaultDocument

[Visual Basic]
Public Function GetUrl( _
   ByVal scheme As String, _
   ByVal hostname As String _
) As String
[C#]
public string GetUrl(
   string scheme,
   string hostname
);

Parameters

scheme
"http" or "https"
hostname
Hostname for the URL

See Also

ApplicationEntry Class | CassiniConfiguration Namespace