title: How to get Perforce (P4Api.net) Workspace Path
body: <pre><code>var P4USER = p4Config.P4USER;
  var P4PORT = p4Config.P4PORT;
  var P4CLIENT = p4Config.P4CLIENT;
  var P4PASSWD = p4Config.P4PASSWD;
  
  Perforce.P4.Server srv = new Perforce.P4.Server(new ServerAddress(P4PORT));
  Perforce.P4.Repository p4 = new Perforce.P4.Repository(srv);
  p4.Connection.UserName = P4USER;
  p4.Connection.SetClient(P4CLIENT);
  p4.Connection.Connect(new Perforce.P4.Options());
  p4.Connection.Login(P4PASSWD);
  </code></pre>
  
  <p>I using P4Api.net and login done. but how can I get my worksapce path ?
  <a href="https://i.stack.imgur.com/L2Wh3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/L2Wh3.png" alt="enter image description here"></a></p>