共用方式為


RMSDKConfig.RevocationAllowFile Property

Definition

Gets or sets the path to the revocation allow list file to be used by PlayReady.

public string RevocationAllowFile { get; set; }
member this.RevocationAllowFile : string with get, set
Public Property RevocationAllowFile As String

Property Value

The path to the revocation allow list file to be used by PlayReady.

Remarks

Use either a full path to the XML data file or a path relative to the location of the rightsmanager.asmx file. Generally the default value is fine, but you can change the path as needed to suit the revocation data file deployment strategy (for example, multiple virtual directories sharing one copy of the revocation allow list). The revocation allow file allows the application to explicitly allow licenses (and therefore content) to flow to revoked devices in spite of them being on the revocation list provided by Microsoft. It is specified as a list of certificate hashes. Here is an example demonstrating the format of the file. <?xml version = "1.0" encoding="utf-8"?> <RevAllowInfo> <AllowList> <CertificateHash>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</CertificateHash> <CertificateHash>BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=</CertificateHash> </AllowList> </RevAllowInfo> The revocation allow file is optional and is ignored if the file is not found. Environment variables such as %ProgramFiles% can be included in this path specification. They will be expanded when the value of RevocationDataFile is resolved. The default vaule is "RevocationAllow.xml".

Applies to