public static void Main() { //var mrzInfo = new MRZInfo("15IC69034", new DateTime(1996,11,26), new DateTime(2026, 06, 11)); //"496112612606118" Bagdavadze //var mrzInfo = "13ID37063295110732402055"; // + Shako //var mrzInfo = "13IB90080296040761709252"; // + guka //var mrzInfo = "13ID40308689022472402103"; // + Giorgio //"12IB34415792061602210089" K var mrzInfo = new MRZInfo( "12IB34415", new DateTime(1992, 06, 16), new DateTime(2022, 10, 08) ); //var mrzInfo = new MRZInfo( // "10BB53550", // new DateTime(1983, 05, 14), // new DateTime(2021, 11, 24) //); var dgsContent = new SmartCardContent(mrzInfo) .Content() .Result; Console.WriteLine( dgsContent .Dg1Content .MRZ .DocumentNumber ); Console.ReadKey(); }
/// <summary> /// Initializes a new instance of the <b>RequestSecurityTokenResponse</b> using the specified /// security token request, ppid and MRZ information. /// </summary> /// <param name="rst"><b>RST</b> to which this instance is a response (RSTR)</param> /// <param name="ppid">Identifier of the person requesting the token</param> /// <param name="mrz">MRZ information used for constructing this RSTR</param> public RequestSecurityTokenResponse(RST rst, string ppid, MRZInfo mrz) : base(false) { this.context = rst.Context; this.useKey = rst.UseKey; this.keyType = rst.KeyType; this.claimTypes = rst.ClaimTypes; this.ppid = ppid; this.mrz = mrz; }