public Record ParseRecord(RecordHeader headerParser, ref MemoryStream ms) { var cpuType = _recordNameParser.ParseText(ref ms); var operatingSys = _recordNameParser.ParseText(ref ms); var answer = "CPU: " + cpuType + ", OS: " + operatingSys; return(new HInfoRecord(cpuType, operatingSys, answer)); }
public Record ParseRecord(RecordHeader header, ref MemoryStream ms) { var address = _parser.ParseText(ref ms); var subAddress = _parser.ParseText(ref ms); var answer = "ISDN Address: " + address + ", SubAddress: " + subAddress; return(new IsdnRecord(address, subAddress, answer)); }
public Record ParseRecord(RecordHeader header, ref MemoryStream ms) { var x25Address = _parser.ParseText(ref ms); var answer = "X.25 X.121 Address: " + x25Address; return(new X25Record(x25Address, answer)); }
public Record ParseRecord(RecordHeader header, ref MemoryStream ms) { var text = _parser.ParseText(ref ms); return(new TxtRecord(text, "text: " + text)); }