title: C#: How can I check if the client is using the official application when connecting to the server?
body: <p>I have a tcp client/server. When connecting the client to the server, the client's IP address is written to the logs on the server. 
  It is important that only trusted clients can thus make an ip address to the server. How to verify this?</p>
  
  <p>I looked for examples on the internet and i found ssl certificates, but in all examples the certificate check could be disabled by removing one line from the code. It is not safe.</p>