CoreWebView2ControllerOptions.ProfileName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Manage the name of the controller's profile.
public string ProfileName { get; set; }
member this.ProfileName : string with get, set
Public Property ProfileName As String
Property Value
Remarks
The ProfileName
property is to specify a profile name, which is only allowed to contain the following ASCII characters. It has a maximum length of 64 characters excluding the null-terminator. It is ASCII case insensitive.
* alphabet characters: a-z and A-Z * digit characters: 0-9 * and '#', '@', '$', '(', ')', '+', '-', '_', '~', '.', ' ' (space).
Note: the text must not end with a period '.' or ' ' (space). And, although upper-case letters are allowed, they're treated just as lower-case counterparts because the profile name will be mapped to the real profile directory path on disk and Windows file system handles path names in a case-insensitive way.