That's new to me. :) The name of the pipe can be changed alright once both server and client sides agree on new name. ;)

No your question is not. Actually the code you quoted already is dynamic...