AppInfo 클래스

정의

이름, 로고, 패키지 정보, ID와 같은 애플리케이션에 대한 정보를 제공합니다.

public ref class AppInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppInfo
Public NotInheritable Class AppInfo
상속
Object Platform::Object IInspectable AppInfo
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

버전 기록

Windows 버전 SDK 버전 추가된 값
2004 19041 현재
2004 19041 GetFromAppUserModelId
2004 19041 GetFromAppUserModelIdForUser
2004 19041 패키지

속성

AppUserModelId

앱을 고유하게 식별하는 식별자입니다.

Current

현재 실행 중인 프로세스에 해당하는 AppInfo 개체를 검색합니다.

DisplayInfo

애플리케이션을 설명하는 정보를 가져옵니다.

ExecutionContext

지정된 앱의 실행 컨텍스트를 나타내는 열거형입니다. 값은 알 수 없음, 호스트 또는 게스트 중 하나일 수 있습니다. 데스크톱 디바이스에서 호스트가 됩니다.

Id

앱 식별자를 가져옵니다.

Package

호출하는 AppInfo 개체에 대한 전체 Package 개체를 검색합니다.

PackageFamilyName

앱의 패키지를 고유하게 식별하는 식별자입니다.

SupportedFileExtensions

애플리케이션이 처리하도록 등록된 파일 확장명 목록입니다. 앱은 애플리케이션 매니페스트 파일의 에서 windows.fileTypeAssociation 확장을 처리하기 위해 등록할 수 있습니다.

메서드

GetFromAppUserModelId(String)

AUMID(AppUserModelId)와 연결된 AppInfo 개체를 검색합니다.

GetFromAppUserModelIdForUser(User, String)

지정된 User 및 AppUserModelId(AUMID)와 연결된 AppInfo 개체를 검색합니다.

적용 대상