using System;
using System.IO;
using System.Text;
namespace WAV
{
/// <summary>
/// Summary description for Wav.
/// </summary>
public class Wav
{
public Wav()
{
//
// TODO: Add constructor logic here
//
}
[STAThread]
static void Main(string args)
{
//
// TODO: Add code to start application here
//
string strpath=@"C:\Documents and Settings\Administrator\桌面\trojan\怀念战友.wav";//=@"F:\Music";
if(args.Length>0)
{
strpath=args[0].Trim();
}
if(File.Exists(strpath))
{
GetWavInfo(strpath);
Console.WriteLine("GetWavInfo Successfully!");
//Console.WriteLine("");
}
else
{
Console.Write("Please Enter the write filepath!\n");
Console.Write("用法: WAV [Full Path Of Your WAV filepath]");
}
}
public stru