UIPermission 클래스

정의

주의

Code Access Security is not supported or honored by the runtime.

사용자 인터페이스 및 클립보드와 관련된 권한을 제어합니다. 이 클래스는 상속될 수 없습니다.

public ref class UIPermission sealed : System::Security::CodeAccessPermission, System::Security::Permissions::IUnrestrictedPermission
public sealed class UIPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class UIPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
[System.Serializable]
public sealed class UIPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class UIPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
type UIPermission = class
    inherit CodeAccessPermission
    interface IUnrestrictedPermission
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type UIPermission = class
    inherit CodeAccessPermission
    interface IUnrestrictedPermission
[<System.Serializable>]
type UIPermission = class
    inherit CodeAccessPermission
    interface IUnrestrictedPermission
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type UIPermission = class
    inherit CodeAccessPermission
    interface IUnrestrictedPermission
Public NotInheritable Class UIPermission
Inherits CodeAccessPermission
Implements IUnrestrictedPermission
상속
특성
구현

설명

주의

CAS(코드 액세스 보안)는 .NET Framework 및 .NET의 모든 버전에서 더 이상 사용되지 않습니다. 최신 버전의 .NET은 CAS 주석을 준수하지 않으며 CAS 관련 API를 사용하는 경우 오류가 발생합니다. 개발자는 보안 작업을 수행하는 대체 수단을 찾아야 합니다.

창에서 그리기 및 사용자 입력 이벤트는 사용자 인터페이스입니다.

창을 사용할 수 있는 권한은 제한되지 않음, 로 제한 SafeTopLevelWindows됨, 만 SafeSubWindows또는 창 그리기 또는 사용자 입력 이벤트 액세스가 허용되지 않는 권한 중 하나일 수 있습니다. SafeTopLevelWindowsSafeSubWindows 는 잠재적으로 유해한 코드에 의한 스푸핑을 방지하기 위해 제목 및 크기로 제한됩니다.

클립보드를 사용할 수 있는 권한은 무제한, 쓰기 전용 또는 클립보드 액세스가 허용되지 않음 중 하나일 수 있습니다. 잘라내기, 복사 및 붙여넣기 작업 키보드 명령을 통해 사용자가 시작 되 면 허용 하면서 사용자의 동의 없이 클립보드에서 데이터를 가져와에서 잠재적으로 위험한 애플리케이션을 방지 하는 붙여넣기를 제한 합니다.

생성자

UIPermission(PermissionState)
사용되지 않음.

지정된 대로 완전 제한 또는 무제한 액세스 권한을 사용하여 UIPermission 클래스의 새 인스턴스를 초기화합니다.

UIPermission(UIPermissionClipboard)
사용되지 않음.

클립보드에 대해 지정된 사용 권한을 사용하고, 창에 대한 액세스 권한 없이 UIPermission 클래스의 새 인스턴스를 초기화합니다.

UIPermission(UIPermissionWindow)
사용되지 않음.

창에 대해 사용 권한을 사용하고, 클립보드에 대한 액세스 권한 없이 UIPermission 클래스의 새 인스턴스를 초기화합니다.

UIPermission(UIPermissionWindow, UIPermissionClipboard)
사용되지 않음.

창 및 클립보드에 대해 지정된 사용 권한을 사용하여 UIPermission 클래스의 새 인스턴스를 초기화합니다.

속성

Clipboard
사용되지 않음.

사용 권한이 나타내는 클립보드 액세스를 가져오거나 설정 합니다.

Window
사용되지 않음.

사용 권한이 나타내는 창 액세스를 가져오거나 설정합니다.

메서드

Assert()
사용되지 않음.

스택의 상위 호출자에게 리소스에 액세스할 수 있는 권한이 부여되지 않더라도 호출 코드가 이 메서드를 호출하는 코드를 통해 사용 권한 요구로 보호되는 리소스에 액세스할 수 있음을 선언합니다. Assert()를 사용하면 보안 문제가 발생할 수 있습니다.

(다음에서 상속됨 CodeAccessPermission)
Copy()
사용되지 않음.

현재 사용 권한의 동일한 복사본을 만들고 반환합니다.

Demand()
사용되지 않음.

현재 인스턴스에서 지정한 사용 권한이 호출 스택의 일부 상위 호출자에만 부여된 경우 런타임에 SecurityException을 강제로 발생시킵니다.

(다음에서 상속됨 CodeAccessPermission)
Deny()
사용되지 않음.
사용되지 않음.

호출 스택의 상위 호출자가 이 메서드를 호출하는 코드를 통해 현재 인스턴스에서 지정한 리소스에 액세스하지 못하게 합니다.

(다음에서 상속됨 CodeAccessPermission)
Equals(Object)
사용되지 않음.

지정한 CodeAccessPermission 개체가 현재 CodeAccessPermission과 같은지 여부를 확인합니다.

(다음에서 상속됨 CodeAccessPermission)
FromXml(SecurityElement)
사용되지 않음.

XML 인코딩의 지정된 상태를 사용하여 사용 권한을 다시 만듭니다.

GetHashCode()
사용되지 않음.

해시 알고리즘과 해시 테이블 같은 데이터 구조에 사용하기 적합한 CodeAccessPermission 개체에 대한 해시 코드를 가져옵니다.

(다음에서 상속됨 CodeAccessPermission)
GetType()
사용되지 않음.

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
Intersect(IPermission)
사용되지 않음.

현재 사용 권한 및 지정된 사용 권한의 공통 권한을 만들어 반환합니다.

IsSubsetOf(IPermission)
사용되지 않음.

현재 사용 권한이 지정된 사용 권한의 하위 집합인지를 확인합니다.

IsUnrestricted()
사용되지 않음.

현재 사용 권한이 제한되지 않았는지 여부를 나타내는 값을 반환합니다.

MemberwiseClone()
사용되지 않음.

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
PermitOnly()
사용되지 않음.

호출 스택의 상위 호출자가 이 메서드를 호출하는 코드를 통해 현재 인스턴스에서 지정한 리소스를 제외한 모든 리소스에 액세스할 수 없게 합니다.

(다음에서 상속됨 CodeAccessPermission)
ToString()
사용되지 않음.

현재 권한 개체의 문자열 표현을 만들고 반환합니다.

(다음에서 상속됨 CodeAccessPermission)
ToXml()
사용되지 않음.

사용 권한 및 해당 사용 권한의 현재 상태에 대한 XML 인코딩을 만듭니다.

Union(IPermission)
사용되지 않음.

사용 권한 및 지정한 사용 권한을 합한 사용 권한을 만듭니다.

적용 대상

추가 정보