Fetch Users using C#

Hi

I am executing the below command, i want to fetch the list of licenses using c#

Get-csonlineuser -Identity [email protected] |select-object *policy

 

Regards