Change the readonly attribut to a file.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Sub SetFileReadOnly ( _
	fileName As String, _
	value As Boolean _
)
C#
public static void SetFileReadOnly(
	string fileName,
	bool value
)

Parameters

fileName
Type: System..::..String
value
Type: System..::..Boolean

See Also