ProtectionManager
Contents
[
Hide
]ProtectionManager class
Presentation password protection management.
public sealed class ProtectionManager : IProtectionManager
Properties
Name | Description |
---|---|
EncryptDocumentProperties { get; set; } | This property makes sense, if presentation is password protected. If true then document properties is encrypted in presentation file. If false then document properties is public while presentation is encrypted. Read/write Boolean. |
EncryptionPassword { get; } | Gets the password which is used for presentation encryption. Read-only String. |
IsEncrypted { get; } | Gets a value indicating whether this instance is encrypted. Read-only Boolean. |
IsOnlyDocumentPropertiesLoaded { get; } | This property makes sense, if presentation file is password protected and document properties of this file are public. Value of true means that only document properties are loaded from an encrypted presentation file without use of password. Value of false means that entire encrypted presentation is loaded with use of right password, not only document properties are loaded. If presentation isn’t encrypted then property value is always false. If document properties of an encrypted file aren’t public then property value is always false. If Presentation.EncryptDocumentProperties is true than IsOnlyDocumentPropertiesLoaded property value is always false. Read-only Boolean. |
IsWriteProtected { get; } | Gets a value indicating whether this presentation is write protected. Read-only Boolean. |
ReadOnlyRecommended { get; set; } | Gets or sets read-only recommendation. Read/write Boolean. |
Methods
Name | Description |
---|---|
CheckWriteProtection(string) | Determines whether a presentation is a password protected to modify. |
Encrypt(string) | Encrypts Presentation with specified password. |
RemoveEncryption() | Removes the encryption. |
RemoveWriteProtection() | Removes write protection for this presentation. |
SetWriteProtection(string) | Set write protection for this presentation with specified password. |
See Also
- interface IProtectionManager
- namespace Aspose.Slides
- assembly Aspose.Slides