Method Remove
- Namespace
- DotNetBrowser.Profile
- Assembly
- DotNetBrowser.dll
Remove(IProfile)
Removes the existing Chromium profile.
bool Remove(IProfile profile)
Parameters
profileIProfileThe Chromium profile to remove
Returns
- bool
trueif the profile was removed,falseotherwise.
Remarks
When the profile is removed, the corresponding IBrowser instances are disposed. The downloads in progress are canceled, and the profile directory is scheduled for deletion.
Exceptions
- ArgumentException
The profile belongs to a different IEngine instance.