Cassini Configuration API Documentation

Metabase.UnregisterApplication Method (Guid, Boolean)

Unregisters an application specified by the appID parameter. Will save metabase file automatically if autoSave parameter is set to true.

[Visual Basic]
Overloads Public Function UnregisterApplication( _
   ByVal appID As Guid, _
   ByVal autoSave As Boolean _
) As ApplicationEntry
[C#]
public ApplicationEntry UnregisterApplication(
   Guid appID,
   bool autoSave
);

Remarks

Set autoSave parameter to false if you are unregistering multiple applications, and then call Save() method to save all changes to the metabase file. Try to minimize number of Save() calls because each Save() call triggers Cassini service(s) restart.

See Also

Metabase Class | CassiniConfiguration Namespace | Metabase.UnregisterApplication Overload List