Cassini Configuration API Documentation

ApplicationEntry.IsRunning Method 

Returns true if application is running.

[Visual Basic]
Public Function IsRunning() As Boolean
[C#]
public bool IsRunning();

Remarks

To check whether the application is running, this method tries to aquire application's TCP port. Returns true if port is already taken. Application may not be running if Cassini Server service is not running, or if application's target ASP.NET verion is later than Cassini Server's version.

See Also

ApplicationEntry Class | CassiniConfiguration Namespace