Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    NativeLockFile Class

    Namespace: Stride.Core.IO
    Assembly: 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)
    | Improve this Doc View Source

    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

    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation