Hi @Hyde,
You can do it in c# with the code available in this link, use invoke code activity from your workflow and try it.
Check this post as well: