///<summary>
        ///设备信息获取
        ///</summary>
        ///<param name="deviceInfo">[out]设备信息</param>
        ///<returns>设备信息转化的字符串,请对应保存到文本文件中</returns>
        public static int ASFGetActiveDeviceInfo(out string deviceInfo)
        {
            deviceInfo = string.Empty;
            int    retCode    = -1;
            IntPtr tempIntPtr = IntPtr.Zero;

            //调用SDK接口
            retCode = ASFFunctions.ASFGetActiveDeviceInfo(ref tempIntPtr);
            if (retCode == 0)
            {
                deviceInfo = Marshal.PtrToStringAnsi(tempIntPtr);
            }
            return(retCode);
        }