<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>2 Mar 2018 11:24:00 Z</lastBuildDate><pubDate>1 Mar 2018 22:02:00 Z</pubDate><description>Hello to all&#13;
&#13;
I'm trying to convert this little piece of code from C# to Windev wlanguage.&#13;
&#13;
using System; using System.Collections.Generic; using System.Text; using Cryptware.NSCAPI; using Cryptware.NCNSAPI; using System.Security.Cryptography.X509Certificates; namespace TestNCNSAPI { class Program { static void Main(string[] args) { SmartCardManager scman = new SmartCardManager(); Readers readerList = scman.PluggedReaders; Reader reader = readerList[0]; Console.WriteLine(reader.Name); Console.WriteLine(reader.State); Console.WriteLine(reader.IsSmartCardPresent); int nRes = reader.WaitForSmartCardInserted(Reader.INFINITE); SmartCard card = reader.Connect(); CNS cns = new CNS(card); string[] datiPersonali = cns.ReadDatiPersonali(); Console.WriteLine("Nome: " + datiPersonali[CNS.Nome]); Console.WriteLine("Cognnome: " + datiPersonali[CNS.Cognome]); X509Certificate2 cert = cns.ReadCertificatoX509(); Console.WriteLine("Scadenza certificato: " + cert.GetExpirationDateString()); } } }&#13;
Please, can someone help me in this translation ???&#13;
&#13;
Thanks in advance.&#13;
Gianni</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64782-converting-source-from-wlanguage/read.awp</link><title>[WD] Converting source from C# to WLanguage</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64782-converting-source-from-wlanguage-64787/read.awp</comments><pubDate>2 Mar 2018 11:24:00 Z</pubDate><description>Hi Gianni,&#13;
&#13;
these lines:&#13;
using System;&#13;
using System.Collections.Generic;&#13;
using System.Text;&#13;
using Cryptware.NSCAPI;&#13;
using…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64782-converting-source-from-wlanguage-64787/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64782-converting-source-from-wlanguage-64787/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64782-converting-source-from-wlanguage/read.awp">[WD] Converting source from C# to WLanguage</source><title>Re: [WD] Converting source from C# to WLanguage</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64782-converting-source-from-wlanguage-64792/read.awp</comments><pubDate>2 Mar 2018 00:01:00 Z</pubDate><description>Hello Fabrice&#13;
&#13;
Thank you.&#13;
&#13;
Gianni</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64782-converting-source-from-wlanguage-64792/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64782-converting-source-from-wlanguage-64792/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64782-converting-source-from-wlanguage/read.awp">[WD] Converting source from C# to WLanguage</source><title>Re: [WD] Converting source from C# to WLanguage</title></item></channel></rss>
