C# How Autenticate a user

Hi all.

I am new in the Mikrotik universe and i have a project in C# that i need make a login page.

Into this page the user put username and password.

I need send this informations to MikroTik and return if the user is autenticated or not.

The Mikrotik have a communication with Freeradius.

Somebody can tell me a API or function that makes this comunication between C# project and Mikrotik.

Thanks!!!