title: P4.NET - How to list user's workspaces?
body: <p>I am not an expert in P4.NET plugin, but I would like to show the existing workspaces for a user in a combo box, so that I can set the p4.Client to the selected workspace.</p>
  
  <pre><code>using (var p4 = new P4Connection())
              {
                  p4.Connect();
                  ???               
              }
  </code></pre>
  
  <p>How do I get the list of existing workspaces?
  I think the command line to achieve this would be </p>
  
  <pre><code>p4 clients -m 100 -u username
  </code></pre>