psMemoryHostName - cLocalWebControlHost
Configures the virtual hostname that will be used to serve the HTML generated when initializing the WebView2 instance
Type: Property
Access: Read/Write
Data Type: String
Parameters: None
Syntax
Property String psMemoryHostName
| Access Type | Syntax |
|---|---|
| Read Access: | Get psMemoryHostName to StringVariable |
| Write Access: | Set psMemoryHostName to StringVariable/Value |
Description
Configures the virtual hostname that will be used to serve the HTML generated when initializing the WebView2 instance.
Normally, this would not be changed. The page is served by setting a resource filter (AddWebResourceRequestedFilter) where the VirtualHtml function determines the HTML being served.