IsEncrypted

FileInfo.IsEncrypted property

Gets a value that represents whether a file is password-protected.

public bool IsEncrypted { get; }

Property Value

A boolean true if a file is password-protected; otherwise false.

See Also