Method Remove
- Namespace
- DotNetBrowser.Profile
- Assembly
- DotNetBrowser.dll
Remove(IProfile)
Removes the existing Chromium profile.
bool Remove(IProfile profile)
Parameters
profile
IProfileThe Chromium profile to remove
Returns
- bool
true
if the profile was removed,false
otherwise.
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.