<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Century;
panose-1:2 4 6 4 5 5 5 2 3 4;}
@font-face
{font-family:Century;
panose-1:2 4 6 4 5 5 5 2 3 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"MS PMincho";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:7.0pt;
font-family:Consolas;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle19
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.p
{mso-style-name:p;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi Grant,<o:p></o:p></p>
<p class="MsoNormal"> I have used this code as is in my program.cs file<o:p></o:p></p>
<p class="MsoNormal" style="line-height:10.8pt;background:white"><span style="font-size:7.0pt;font-family:Consolas;color:#333333"> initiator.Start();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:10.8pt;background:white"><span style="font-size:7.0pt;font-family:Consolas;color:#333333"> application.Run();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:10.8pt;background:white"><span style="font-size:7.0pt;font-family:Consolas;color:#333333"> initiator.Stop();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:10.8pt;background:white"><span style="font-size:7.0pt;font-family:Consolas;color:#333333"><o:p> </o:p></span></p>
<p class="MsoNormal">so, my initiator logs on and than logs off.<o:p></o:p></p>
<p class="MsoNormal">How can I make it to be logged on and log out with user intervention?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-family:"Arial","sans-serif";color:#4F81BD">Thanks & Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-family:"Arial","sans-serif";color:#4F81BD">Ashutosh Mishra<o:p></o:p></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:12.0pt;font-family:"MS PMincho";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-align:justify;line-height:12.0pt;text-autospace:none">
<span style="font-size:12.0pt;font-family:"MS PMincho";color:black">*********************************************************************************<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none"><span style="font-size:12.0pt;font-family:"MS PMincho";color:black">This communication (including any attachments) is intended only or the use of the individual whom it is addressed and may
contain information that is privileged, confidential or legally protected. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If
you have received this communication in error, please notify us immediately by replying to the message. Please also delete the message and its attachments, if any, from your computer and destroy any hard copies you may have created. Thank you for your cooperation.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"MS PMincho";color:black">*********************************************************************************</span><span style="font-size:10.5pt;font-family:"Century","serif""><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>