示例#1
0
        internal static string GetVersion()
        {
            dpfj_version version = new dpfj_version();

            version.size = 100;
            var res = dpfj_version(ref version);

            if (res == 0)
            {
                return($"{version.lib_ver.major}.{version.lib_ver.minor}.{version.lib_ver.maintenance}");
            }
            else
            {
                Console.WriteLine("Version not found");
            }

            return(default);
示例#2
0
 private static extern int dpfj_version(ref dpfj_version version);