Set the attribute read only of a file
Namespace: LLCryptoLib.UtilsAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public bool SetHidden( string fullName, bool hidden ) |
Visual Basic |
---|
Public Function SetHidden ( _ fullName As String, _ hidden As Boolean _ ) As Boolean |
Visual C++ |
---|
public: bool SetHidden( String^ fullName, bool hidden ) |
Parameters
- fullName
- Type: System..::..String
Full path of file.
- hidden
- Type: System..::..Boolean
if set to true then the file will be hidden, else the hidden attribute will be removed.
Return Value
True, if the attribute was set
Remarks
In case this method return false, check ErrorMessage