Quick Start (Base64): Starting suspended process instances using the web service API

The following C# code example starts a suspended process instance.

using System; 
using System.Collections; 
using System.ComponentModel; 
using System.Data; 
using System.IO ; 
 
/** 
    * This web service Quick Start starts a suspended process instance with the  
    * invocation identifier value of 1cac7df30a242fb100d573bd344da74e   
    */ 
 
namespace StartProcess 
{ 
    class Class1 
    { 
        [STAThread] 
        static void Main(string[] args) 
        { 
            try 
            { 
                //Create a ProcessManagerService object and set authentication values 
                ProcessManagerService processManager = new ProcessManagerService();  
                processManager.Credentials = new System.Net.NetworkCredential("administrator", "password"); 
 
                //Start a suspended process instance 
                processManager.unSuspendProcess("5fae07190a242fb1010b2229ccad8a7e");  
            } 
            catch (Exception ee) 
            { 
                Console.WriteLine(ee.Message); 
            } 
 
        } 
    } 
}