4 Protocol Examples

This example shows the messages sent to perform a simple querying of a card in the TS client machine. It assumes that a channel has already been set up on the between the TS client and the TS server. In addition, a PC/SC-compatible resource manager is running on the TS client and there exists a smart card reader with a smart card inserted. The following figure represents the program flow.

Protocol flow

Figure 4: Protocol flow

This representation of the protocol flow is simplified in that there is only one application sending data over this protocol. In an actual implementation there could be multiple outstanding calls at any time.

All packets are constructed as specified in sections 3.2.5 and 3.2.5.3. The Status field refers to the IoStatus field as specified in [MS-RDPEFS] section 2.2.1.5. The CompletionId field is also specified in [MS-RDPEFS] section 2.2.1.5.