<span data-scayt_word="Buongiorno" data-scaytid="1">Buongiorno ,
<span data-scayt_word="quando" data-scaytid="4">quando <span data-scayt_word="vado" data-scaytid="8">vado a <span data-scayt_word="marcare" data-scaytid="13">marcare un <span data-scayt_word="documento" data-scaytid="29">documento con <span data-scayt_word="tsa" data-scaytid="43">tsa <span data-scayt_word="nella" data-scaytid="49">nella <span data-scayt_word="funzione" data-scaytid="63">funzione <span data-scayt_word="SignedDocument" data-scaytid="80">SignedDocument <span data-scayt_word="sd" data-scaytid="81">sd = dsign.Sign(<span data-scayt_word="valore" data-scaytid="128">valore byte , selector);
<span data-scayt_word="rimane" data-scaytid="149">rimane <span data-scayt_word="bloccato" data-scaytid="155">bloccato e non <span data-scayt_word="da" data-scaytid="160">da <span data-scayt_word="nessuna" data-scaytid="170">nessuna <span data-scayt_word="risposta" data-scaytid="171">risposta non <span data-scayt_word="va" data-scaytid="228">va <span data-scayt_word="neanche" data-scaytid="182">neanche in <span data-scayt_word="errore" data-scaytid="222">errore <span data-scayt_word="qualcuno" data-scaytid="247">qualcuno <span data-scayt_word="di" data-scaytid="257">di <span data-scayt_word="voi" data-scaytid="278">voi ha un idea ?
<span data-scayt_word="posto" data-scaytid="203">posto qui <span data-scayt_word="il" data-scaytid="206">il <span data-scayt_word="codice" data-scaytid="390">codice:
<span data-scayt_word="dsign" data-scaytid="391">dsign = new <span data-scayt_word="DigitalSigner" data-scaytid="392">DigitalSigner("vicki.dll");
dsign.OpenSession(0);
dsign.Login("1234");
<span data-scayt_word="tsa" data-scaytid="445">tsa = new <span data-scayt_word="TSAClient" data-scaytid="447">TSAClient("https://marte.infocert.it/<span data-scayt_word="cdie" data-scaytid="483">cdie/<span data-scayt_word="DtsServic" data-scaytid="523">DtsService", "xxx", "<span data-scayt_word="yyy" data-scaytid="514">yyy);
<span data-scayt_word="ICertificateSelector" data-scaytid="624">ICertificateSelector selector;
selector = new <span data-scayt_word="SimpleCertificateSelector" data-scaytid="625">SimpleCertificateSelector();
dsign.CAdES = true;
dsign.Multisignature = false;
dsign.AddCACertificate = true;
dsign.Detached = false;
dsign.TsaClient = <span data-scayt_word="tsa" data-scaytid="566">tsa;
<span data-scayt_word="SignedDocument" data-scaytid="567">SignedDocument <span data-scayt_word="sd" data-scaytid="568">sd = dsign.Sign(<span data-scayt_word="vettorebyte" data-scaytid="638">vettorebyte, selector);
qui <span data-scayt_word="si" data-scaytid="648">si <span data-scayt_word="quando" data-scaytid="668">quando <span data-scayt_word="esequo" data-scaytid="686">esequo la <span data-scayt_word="funzione" data-scaytid="701">funzione <span data-scayt_word="si" data-scaytid="698">si <span data-scayt_word="blocca" data-scaytid="737">blocca e con <span data-scayt_word="il" data-scaytid="747">il debug <span data-scayt_word="rimane" data-scaytid="788">rimane <span data-scayt_word="fer" data-scaytid="800">fer,<span data-scayt_word="mo" data-scaytid="825">mo <span data-scayt_word="li" data-scaytid="826">li e non <span data-scayt_word="va" data-scaytid="841">va all <span data-scayt_word="istruzione" data-scaytid="903">istruzione <span data-scayt_word="successiva" data-scaytid="904">successiva non <span data-scayt_word="da" data-scaytid="660">da <span data-scayt_word="nessuna" data-scaytid="665">nessuna <span data-scayt_word="risposta" data-scaytid="666">risposta
Grazie