c# - NamedPipeClientStream AccessViolation -


i came across issue today constructor of namedpipeclientstream threw av.

after boiling down try , minimal repeatable example found...

  1. create new project in vs2013 update 4 (console do) targeting .net 3.5
  2. change main this....

         static void main(string[] args)     {         var pipe = new namedpipeclientstream(".", "global\\turnips", pipedirection.inout, pipeoptions.asynchronous);     }   
  3. run.
  4. enter image description here

anyone have idea what's going on here? i've looked through code in ctor of named pipe using ilspy , can't see reason behaviour.


Comments

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -