Пример #1
0
        public void ReadModularProgramSignature()
        {
            SasReader reader = new SasReader(new SasFile("allrun_signature.sas7bdat"));

            reader.Logger = new ConsoleOutLogger("SAS7bDatReadExample", LogLevel.Debug, true, true, true, null);
            reader.read(new SasReaderCallback());
        }
        /// <summary>
        /// SAS version
        /// </summary>
        /// <param name="requestId"></param>
        /// <param name="stream"></param>
        /// <returns></returns>
        private IList <DnsRequestSearchTerm> GetSASSearchTerms(Guid requestId, Stream stream)
        {
            IList <DnsRequestSearchTerm> searchTerms = new List <DnsRequestSearchTerm>();

            // Add common search terms
            SasReader sas = new SasReader(stream);

            sas.read(new SignatureFileCallback(requestId, searchTerms));

            return(searchTerms);
        }