Share via


_Document.PasswordEncryptionProvider Property

Returns the name of the algorithm encryption provider that Microsoft Word uses when encrypting documents with passwords.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property PasswordEncryptionProvider As String
    Get
'Usage
Dim instance As _Document
Dim value As String

value = instance.PasswordEncryptionProvider
string PasswordEncryptionProvider { get; }

Property Value

Type: System.String
String

Remarks

Use the SetPasswordEncryptionOptions method to specify the name of the algorithm encryption provider Word uses when encrypting documents with passwords.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace