<PackageReference Include="System.Security.Permissions" Version="11.0.0-preview.2.26159.112" />

System.Security.Permissions.WebBrowserPermissionLevel

Specifies the permission level for a Web browser.
None = 0

A Web browser that cannot navigate frames to HTML.

Safe = 1

A Web browser that can safely navigate frames to HTML but with several restrictions.

A Web browser that can navigate without restrictions.