Click or drag to resize

IProfilesRemove Method

Removes the existing Chromium profile.

Namespace:  DotNetBrowser.Profile
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.13.0
Syntax
C#
bool Remove(
	IProfile profile
)

Parameters

profile
Type: DotNetBrowser.ProfileIProfile
The Chromium profile to remove

Return Value

Type: Boolean
true if the profile was removed, false otherwise.
Exceptions
ExceptionCondition
ArgumentExceptionThe profile belongs to a different IEngine instance.
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.
See Also