_Document.PasswordEncryptionAlgorithm Property
Returns a String indicating the algorithm Microsoft Word uses for encrypting documents with passwords.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
ReadOnly Property PasswordEncryptionAlgorithm As String
Get
'Usage
Dim instance As _Document
Dim value As String
value = instance.PasswordEncryptionAlgorithm
string PasswordEncryptionAlgorithm { get; }
Property Value
Type: System.String
Remarks
Use the SetPasswordEncryptionOptions method to specify the algorithm Word uses for encrypting documents with passwords.