public LameVesionInfo GetVersion() { try { var ver_ = new LameVesionInfo_(); if (LameUtity.lame_get_version_(ref ver_) < 0) { return(null); } var ver = new LameVesionInfo(); ver.EngineVersion = ver_.EngineVersion; ver.VirusDBVersion = ver_.VirusDBVersion; return(ver); } catch (Exception) { } return(null); }
public static extern int lame_get_version_(ref LameVesionInfo_ ver);