NetworkInformationPermissionAttribute.CreatePermission Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates and returns a new NetworkInformationPermission object.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

public override IPermission CreatePermission()

Return Value

Type: System.Security.IPermission

A NetworkInformationPermission that corresponds to this attribute.

This method should only be called by the security system, never by application code.

.NET Framework
Available since 2.0
Return to top
Show: