NativeLockFile Class
Namespace: Stride.Core.IOAssembly: Stride.Core.IO.dll
                 System.Object →  
                NativeLockFile
              
              
                 Derived from NativeLockFile: 
              
              
              
public static class NativeLockFile
              | Name | Description | |
|---|---|---|
| Methods | ||
| LockFile(FileStream, Int64, Int64, Boolean) | ||
| UnlockFile(FileStream, Int64, Int64) | ||
Methods
LockFile(FileStream, Int64, Int64, Boolean)
public static void LockFile(FileStream fileStream, long offset, long count, bool exclusive)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.FileStream | fileStream | |
| System.Int64 | offset | |
| System.Int64 | count | |
| System.Boolean | exclusive | 
UnlockFile(FileStream, Int64, Int64)
public static void UnlockFile(FileStream fileStream, long offset, long count)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.FileStream | fileStream | |
| System.Int64 | offset | |
| System.Int64 | count |