Esempio n. 1
0
        unsafe public static string GetDriverVersion()
        {
            VERSION_INFO_STRUC v = new VERSION_INFO_STRUC();

            dpGetDriverVersion(&v);
            return(v.dwDriverVersion + "." + v.dwDriverRevision + "." +
                   v.dwDriverRelease + "." + v.dwDriverBuildNum);
        }
Esempio n. 2
0
 private static unsafe extern int dpGetDriverVersion(VERSION_INFO_STRUC *pDriverVersionInfo);
Esempio n. 3
0
 public static unsafe string GetDriverVersion()
 {
     VERSION_INFO_STRUC v = new VERSION_INFO_STRUC();
     dpGetDriverVersion(&v);
     return v.dwDriverVersion+"."+v.dwDriverRevision+"."+
         v.dwDriverRelease+"."+v.dwDriverBuildNum;
 }