You are connecting using VT emulation.
- VTxxx key values by 5250 function
- VT220 top-row function keys
- VT100 and VT220 control character keywords
See the documentation for VTxxx Telnet client sessions for more information.
Note that there is a .NET database provider, as well as 5250 client emulation API's available. See IBM i Access for Windows .NET provider and IBM i Access for Windows : Programming for more information.