Class PackageManager.Drm
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.PackageManager.dll
- API Level:
- 3
Drm nested class. This class has the PackageManager's drm related methods.
C#Copypublic static class Drm : object
- Inheritance
-
PackageManager.Drm
Methods
Declaration
C#Copypublic static bool DecryptPackage(string drmFilePath, string decryptedFilePath)
Parameters
Type | Name | Description |
---|---|---|
String | drmFilePath | Drm file path. |
String | decryptedFilePath | Decrypted file path. |
Returns
Type | Description |
---|---|
Boolean | Returns true if succeeds, otherwise false. |
API Level: 3
Privilege Level: platform
Privilege: http://tizen.org/privilege/packagemanager.admin
Declaration
C#Copypublic static PackageDrm GenerateLicenseRequest(string responseData)
Parameters
Type | Name | Description |
---|---|---|
String | responseData | Response data string of the purchase request. |
Returns
Type | Description |
---|---|
PackageDrm | Returns the package DRM information of a given response data which contains the required data and license URL. |
API Level: 3
Privilege Level: platform
Privilege: http://tizen.org/privilege/packagemanager.admin
Declaration
C#Copypublic static bool RegisterLicense(string responseData)
Parameters
Type | Name | Description |
---|---|---|
String | responseData | The response data string of the rights request. |
Returns
Type | Description |
---|---|
Boolean | Returns true if succeeds, otherwise false. |