NetworkInformationPermissionAttribute::CreatePermission Method ()

 

Creates and returns a new NetworkInformationPermission object.

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

public:
virtual IPermission^ CreatePermission() override

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: