System.Diagnostics.SymbolStore.SymDocument.GetCheckSum C# (CSharp) Method

GetCheckSum() public method

public GetCheckSum ( ) : byte[]
return byte[]
        public byte[] GetCheckSum()
        {
            int hr;
            byte[] Data;
            COMException Exception;
            int cData;
            hr = SymDocument_GetCheckSum(m_Document, 0, out cData, null);
            if (hr < 0)
            {
                Exception = new COMException("Call to GetCheckSum failed.", hr);
                throw Exception;
            }
            Data = new byte[cData];
            hr = SymDocument_GetCheckSum(m_Document, cData, out cData, Data);
            if (hr < 0)
            {
                Exception = new COMException("Call to GetCheckSum failed.", hr);
                throw Exception;
            }
            return Data;
        }