How to connect with meta traders 5 using api?

 
Hello guyz.. I want to connect with meta traders 5 using api.. I am using .net mt api i.e https://github.com/vdemydiuk/mtapi/..I installed mtapi5 from site..I added reference of .dll files(after installing mtapi5) in my project. I want to develop my own application.. My application will take username,password,host and port from user..User can connect to mtapi if and only if he/she has meta traders account. Can anyone tell me how it is possible? I am beginner Please guide me how can i connect to mt in this case..