IsolatedStorage.ApplicationIdentity 属性

定义

获取用于确定独立存储范围的应用程序标识。

public:
 property System::Object ^ ApplicationIdentity { System::Object ^ get(); };
public object ApplicationIdentity { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public object ApplicationIdentity { get; }
member this.ApplicationIdentity : obj
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ApplicationIdentity : obj
Public ReadOnly Property ApplicationIdentity As Object

属性值

Object

表示 Object 标识的 Application

属性

例外

该代码缺少访问此对象所需的 SecurityPermission。 这些权限由运行时基于安全策略授予。

IsolatedStorage 对象没有被应用程序 IsolatedStorageScope 隔离。

注解

由于应用程序的定义包括与应用程序关联的所有程序集,因此可以使用这种类型的标识来确保只有与应用程序关联的程序集可以访问隔离存储。

适用于