Hardware/TBalancer/FTD2XX.cs
changeset 195 0ee888c485d5
parent 186 010d719f9245
child 344 3145aadca3d2
     1.1 --- a/Hardware/TBalancer/FTD2XX.cs	Tue Sep 21 10:33:28 2010 +0000
     1.2 +++ b/Hardware/TBalancer/FTD2XX.cs	Tue Sep 21 20:32:36 2010 +0000
     1.3 @@ -87,7 +87,7 @@
     1.4  
     1.5    [StructLayout(LayoutKind.Sequential)]
     1.6    internal struct FT_HANDLE {
     1.7 -    private uint handle;
     1.8 +    private readonly uint handle;
     1.9    }
    1.10  
    1.11    [StructLayout(LayoutKind.Sequential)]
    1.12 @@ -198,7 +198,7 @@
    1.13      }
    1.14  
    1.15      private static string GetDllName() {
    1.16 -      int p = (int)System.Environment.OSVersion.Platform;
    1.17 +      int p = (int)Environment.OSVersion.Platform;
    1.18        if ((p == 4) || (p == 128))
    1.19          return "libftd2xx.so";
    1.20        else