Method | Description | |
---|---|---|
Commit ( ) : bool | ||
CopyCurrentContent ( ) : void |
Copy the current file content into the temporary file.
|
|
Dispose ( ) : void | ||
GetOutputStream ( ) : Stream |
Obtain the direct output stream for this lock.
|
|
Lock ( ) : bool |
* Try to establish the lock.
|
|
LockFile ( |
Create a new lock for any file.
|
|
LockForAppend ( ) : bool |
Try to establish the lock for appending.
|
|
Unlock ( ) : void | ||
Write ( |
||
Write ( byte content ) : void |
Method | Description | |
---|---|---|
RequireLock ( ) : void | ||
SaveStatInformation ( ) : void |
public LockFile ( |
||
file | the file that will be locked. | |
return | System |