Sonar Scaner CLI and Sonar Scanner MSbuild

I am using scanner cli for scanning .net projects(C#). Is it okay ?