Exemplo n.º 1
0
 /// <summary>
 /// Returns information like version numbers (both of the DLL and encoding engine),
 /// release date and URL for lame_enc's homepage.
 /// All this information should be made available to the user of your product
 /// through a dialog box or something similar.
 /// </summary>
 /// <param name="pbeVersion"Where version number, release date and URL for homepage
 /// is returned.</param>
 public static void beVersion([Out] BE_VERSION pbeVersion)
 {
     if (CPU.Is32Bit)
     {
         Lame86.beVersion(pbeVersion);
     }
     else
     {
         Lame64.beVersion(pbeVersion);
     }
 }
Exemplo n.º 2
0
 private void About_Load(object sender, EventArgs e)
 {
     var ver = new BE_VERSION();
     LameEnc.beVersion(ver);
     labelDllVer.Text = string.Format("{0}.{1}", ver.byDLLMajorVersion, ver.byDLLMinorVersion);
     labelEngVer.Text = string.Format("{0}.{1}", ver.byMajorVersion, ver.byMinorVersion);
     var date = new DateTime(ver.wYear, ver.byMonth, ver.byDay);
     labelDate.Text = date.ToShortDateString();
     linkLabel.Text = ver.zHomepage;
     linkLabel.LinkArea = new LinkArea(0, linkLabel.Text.Length);
     linkLabel.Links[0].LinkData = linkLabel.Text;
 }
Exemplo n.º 3
0
Arquivo: Lame64.cs Projeto: 4dvn/yeti
 internal static extern void beVersion([Out] BE_VERSION pbeVersion);