CoreWebView2AllowedPortRangeScope Enum
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.
Specifies the scope for port configuration.
public enum CoreWebView2AllowedPortRangeScope
type CoreWebView2AllowedPortRangeScope =
Public Enum CoreWebView2AllowedPortRangeScope
- Inheritance
-
CoreWebView2AllowedPortRangeScope
Fields
| Name | Value | Description |
|---|---|---|
| Default | 0 | Scope applies to all components. This scope defines the port range restrictions that apply to all network components that do not have specific overrides. When a component-specific scope is not set, it inherits the restrictions from Default scope. |
| WebRtc | 1 | Applies only to WebRTC peer-to-peer connection. This scope allows setting port range restrictions specifically for WebRTC connections. When set, this scope takes precedence over the Default scope for WebRTC traffic. |