The TS_SHARE_CAPABILITYSET structure is used to advertise the channel ID of the sender and is fully specified in [T128] section 8.2.12. This capability is sent by both client and server.
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_6_2_3.xml
 /// <summary>
 /// Create a TS_SHARE_CAPABILITYSET type Capability, 2.2.7.2.4
 /// </summary>
 /// <returns>TS_SHARE_CAPABILITYSET type Capability</returns>
 public static TS_SHARE_CAPABILITYSET CreateShareCapSet()
 {
     TS_SHARE_CAPABILITYSET shareCapabilitySet = new TS_SHARE_CAPABILITYSET();
     shareCapabilitySet.capabilitySetType = capabilitySetType_Values.CAPSTYPE_SHARE;
     //A 16-bit, unsigned integer. This field SHOULD be set to 0 by the client and to the server channel ID by the server (0x03EA).
     shareCapabilitySet.nodeId = 1002;
     shareCapabilitySet.pad2octets = 0;
     shareCapabilitySet.lengthCapability = (ushort)Marshal.SizeOf(shareCapabilitySet);
     return shareCapabilitySet;
 }