create a workflow with the designer add an http endpoint that accept formfile and it stores insiede a variable add a c# scriptting activities that have this code ...