C# / Nodejs compatible encryption/decryption

What's the equivalent C# encryption routine for the following nodejs code:

var cipher = crypto.createCipher('aes256', 'myPassword');
encrypted = cipher.update(sha256, 'utf8', 'base64') + cipher.final('base64');

I want to encrypt on C# and be able to decrypt it in a Node.js app.