# Package Digi.Common

The Digi.Common includes the source code of common functions, constants... using in driver management. More...

## Classes
class | StructBuilder
class | DriverIO
| This class wraps the standard C/C++ CreatFile type functions into a C# class. More...
class | PolarCoordinate
class | CartesianCoordinate
class | DigiMath
class | StopWatch
class | DigiStrings
## Enumerations
enum | GenericAccessRights { Read = 0x80000000, Write = 0x40000000, Execute = 0x20000000, All = 0x10000000, ReadWrite = Read | Write }
| Generic Access Rights enum The requested access to the file or device. More...
enum | ShareMode { None = 0x0, Read = 0x00000001, Write = 0x00000002, Delete = 0x00000004, ReadWrite = Read | Write }
| Share Mode enum The requested sharing mode of the file or device. More...
enum | CreationDisposition { CreateNew = 1, CreateAlways = 2, OpenExisting = 3, OpenAlways = 4, TruncateExisting = 5, OpenForLoader = 6 }
| Creation Disposition enum An action to take on a file or device that exists or does not exist. More...
enum | FileAttrib { None = 0, Archive = 0x00000020, Encrypted = 0x00004000, Hidden = 0x00000002, Normal = 0x00000080, Offline = 0x00001000, ReadOnly = 0x00000001, System = 0x00000004, Temporary = 0x00000100, FlagBackupSemantics = 0x02000000, FlagDeleteOnClose = 0x04000000, FlagNoBuffering = 0x20000000, FlagOpenNoRecall = 0x00100000, FlagPOSIXSemantics = 0x01000000, FlagOpenReparsePoint = 0x00200000, FlagOverlapped = 0x40000000, FlagRandomAccess = 0x10000000, FlagSequentialScan = 0x08000000, FlagWriteThrough = 0x80000000 }
| File Attribite enum The file or device attributes and flags. More...

## Detailed Description

The Digi.Common includes the source code of common functions, constants... using in driver management.

## Enumeration Type Documentation

enum Digi::Common::CreationDisposition

Creation Disposition enum An action to take on a file or device that exists or does not exist.

            // Use of the constants
            CreationDisposition.CreateNew
            CreationDisposition.CreateAlways
            CreationDisposition.OpenExisting
            CreationDisposition.OpenAlways
            CreationDisposition.TruncateExisting
            CreationDisposition.OpenForLoader

enum Digi::Common::FileAttrib

File Attribite enum The file or device attributes and flags.

            // Use of the constants
            FileAttrib.None
            FileAttrib.Archive
            FileAttrib.Encrypted
            FileAttrib.Hidden
            FileAttrib.Normal
            FileAttrib.Offline
            FileAttrib.ReadOnly
            FileAttrib.System
            FileAttrib.Temporary
            FileAttrib.FlagBackupSemantics
            FileAttrib.FlagDeleteOnClose
            FileAttrib.FlagNoBuffering
            FileAttrib.FlagOpenNoRecall
            FileAttrib.FlagPOSIXSemantics
            FileAttrib.FlagOpenReparsePoint
            FileAttrib.FlagOverlapped
            FileAttrib.FlagRandomAccess
            FileAttrib.FlagSequentialScan
            FileAttrib.FlagWriteThrough

enum Digi::Common::GenericAccessRights

Generic Access Rights enum The requested access to the file or device.

            // Use of the constants
            GenericAccessRights.Read
            GenericAccessRights.Write
            GenericAccessRights.Execute
            GenericAccessRights.All
            GenericAccessRights.ReadWrite

enum Digi::Common::ShareMode

Share Mode enum The requested sharing mode of the file or device.

            // Use of the constants
            ShareMode.None
            ShareMode.Read
            ShareMode.Write
            ShareMode.Delete
            ShareMode.ReadWrite