title: How can I execute a command with parameters though Kubernetes c# API method "WebSocketNamespacedPodExecAsync"?
body: <p>From my machine I am able to execute the following command in powershell</p>
  <pre><code>kubectl --namespace myNameSpace exec myPodName cat myFileName.txt
  </code></pre>
  <p>How can I execute the same command thought Kuberneres c#.NET method &quot;<em><strong>WebSocketNamespacedPodExecAsync</strong></em>&quot;</p>
  <p>Also any reference on how to pass a command with parameters to &quot;<em><strong>WebSocketNamespacedPodExecAsync</strong></em>&quot; would be highly appreciated.</p>