Click or drag to resize

IProfilesCreate Method

Creates a new Chromium profile of the specified profileType with the specified name.

Namespace:  DotNetBrowser.Profile
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.0
Syntax
C#
IProfile Create(
	string name,
	ProfileType profileType = ProfileType.Regular
)

Parameters

name
Type: SystemString
The profile name. Cannot be null or empty.
profileType (Optional)
Type: DotNetBrowser.ProfileProfileType
The profile type. If omitted, the regular profile will be created.

Return Value

Type: IProfile
The new Chromium profile.
See Also