no DotNet System.Net.Sockets.TcpClient in my list

kvbkvb Member Posts: 107
edited 2018-03-15 in NAV Three Tier
Hi people!
Following this solution for Zebra printing https://juhl.blog/2017/04/26/direct-print-using-net/
Anybody knows what to do to see System.Net.Sockets.TcpClient in my list when i lookup dotnet variables?
I have System.Net, but not System.Net.Sockets :(
Thanks!

etp8f1ug2o9t.png

Best Answers

  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    edited 2018-03-15 Answer ✓
    You need to select assembly "System", not "System.Net", and then you'll find TcpClient in there:
    DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.Sockets.TcpClient";
    
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • kvbkvb Member Posts: 107
    Answer ✓
    So... and the answer is! System.Char is under mscorlib assembly not the System one, lol :)
    its not that obvious sometimes.

Answers

  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    edited 2018-03-15 Answer ✓
    You need to select assembly "System", not "System.Net", and then you'll find TcpClient in there:
    DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.Sockets.TcpClient";
    
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • kvbkvb Member Posts: 107
    Hmm.. now i cant find system.Char under System assembly.
    Serfed tons of google pages, they say its part of mscorlib.dll,
    should it install .NET or something like this?
  • kvbkvb Member Posts: 107
    Answer ✓
    So... and the answer is! System.Char is under mscorlib assembly not the System one, lol :)
    its not that obvious sometimes.
Sign In or Register to comment.