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

System.Net.NetworkInformation.NetworkInformationPermissionAttribute

Allows security actions for NetworkInformationPermission to be applied to code using declarative security.
namespace System.Net.NetworkInformation { public sealed class NetworkInformationPermissionAttribute : CodeAccessSecurityAttribute { public string Access { get; set; } public NetworkInformationPermissionAttribute(SecurityAction action); } }