public byte[] SourceBytes { get; }
Public ReadOnly Property SourceBytes As Byte()
Get
public:
property array<unsigned char>^ SourceBytes {
array<unsigned char>^ get ();
}
member SourceBytes : byte[] with get
A ServiceRecord can be created either by manually building new ServiceAttributes holding new ServiceElements, or it can be created by ServiceRecordParser parsing an array of bytes read from another machine by e.g. GetServiceRecords(Guid). In that case this method returns that source byte array.
To creates a Service Record byte array from the contained ServiceAttributes use ToByteArray or ServiceRecordCreator.