The actual Syntax of the logic depends on which .NET client language you are using, but all are quite similar and the method and attribute names of the Render are the same. A simple example in VB.NET is shown below. This example would connect to the host and display the first ispec. You could then interact with the ispec and transmit data to or from the host and in fact conduct an entire session.
VB.NET example
This assumes the Renderer object has been dragged and dropped from the toolbar, named sampleSys and that the connection properties have been set in the properties pane.
’Connect. using the properties set on the sampleSys object. Dim iResult As Integer = sampleSys.AutoConnect() if not sampleSys.Session.IsOk(iResult) then ’return error and close end if sample.DisplayIspec()