最简单的方法是在B上设共享了~
然后
Directory.CreateDirectory("\\b\sharedir\newdirname")
就是