Decrypt using .net + cmd + hardcoded passphra

Is there a way to decrypt using the command line via a application without having to deal with the pass phrase prompt? I’d like to hard code the pass phrase in a piece of software we use internally so that the prompt is skipped.

Anyone have any ideas on how? Or is there a switch or command I am missing?