Search found 497 matches

by lagraf
Mon Oct 27, 2025 1:55 pm
Forum: Deutsches Forum
Topic: WSDL + SOAP
Replies: 4
Views: 175

Re: WSDL + SOAP

Das ist schlecht, Globaltrust bietet nur das bei ihrer RKS-Cloud an.
Andere Anbieter arbeiten mit Rest-API, das habe ich schon mehrfach gemacht, allerdings sind die wesentlich teurer.
LG
by lagraf
Mon Oct 27, 2025 7:47 am
Forum: Deutsches Forum
Topic: WSDL + SOAP
Replies: 4
Views: 175

WSDL + SOAP

Hallo,
gibt es irgendwo ein Beispiel wie man Daten mit X# per WSDL (SOAP) abrufen kann?
LG
by lagraf
Thu Oct 23, 2025 10:06 am
Forum: Deutsches Forum
Topic: C# und X509Certificate2
Replies: 26
Views: 4468

Re: C# und X509Certificate2

Ich habe die X# App auf die FUNCTION Start() umgebaut und starte die Klasse Program daraus.
Damit läuft die X# App jetzt.
by lagraf
Wed Oct 22, 2025 4:02 pm
Forum: Deutsches Forum
Topic: C# und X509Certificate2
Replies: 26
Views: 4468

Re: C# und X509Certificate2

Hallo Wolfgang,
komisch, ich habe eine ähnliche X# App und da schaut program.prg genauso aus, trotzdem funktioniert diese App:

INTERNAL CLASS Program
PRIVATE STATIC METHOD Start() AS VOID


An Start() oder Main() sollte es nicht liegen, habe ich schon probiert.
Unterschied ist nur, dass die ...
by lagraf
Wed Oct 22, 2025 12:28 pm
Forum: Deutsches Forum
Topic: C# und X509Certificate2
Replies: 26
Views: 4468

Re: C# und X509Certificate2

ILSpy hat mir den Code der C# App wie folgt übersetzt:
Ich habe ein Hauptprogramm im File program.prg

INTERNAL CLASS Program
PRIVATE STATIC METHOD Main() AS VOID
...

und eine Klasse im File AbstractCashRegisterSmartCard.prg

INTERNAL ABSTRACT CLASS AbstractCashRegisterSmardCard IMPLEMENTS ...
by lagraf
Wed Oct 22, 2025 8:27 am
Forum: Deutsches Forum
Topic: C# und X509Certificate2
Replies: 26
Views: 4468

Re: C# und X509Certificate2

Hallo Wolfgang,
hat der Compiler erstmal akzeptiert.
Nachdem ich nun alle von C# nach X# falsch übernommenen Statements ausgebessert habe, werde ich die App nun durchtesten.
Danke, Franz
by lagraf
Wed Oct 22, 2025 7:31 am
Forum: Deutsches Forum
Topic: C# und X509Certificate2
Replies: 26
Views: 4468

Re: C# und X509Certificate2

Hallo,
ich versuche nun diese funktionierende C# App mit ILSpy + X#Plugin nach X# zu übertragen.
Dabei bekomme ich folgende C# Passage

int choice;
if (int.TryParse(line, out choice) && (choice >= 0) && (choice <= readerNames.Length))


übersetzt mit

LOCAL choice AS INT
IF ((int.TryParse(line ...
by lagraf
Mon Oct 20, 2025 12:19 pm
Forum: Deutsches Forum
Topic: C# und X509Certificate2
Replies: 26
Views: 4468

Re: C# und X509Certificate2

Hi Chris,
thank you for the DLLs, it now compiles without errors!
The DLLs I used first were not from the github example, I already had them on my disk. It looks like it's not the correct version for this app.
Regards, Franz
by lagraf
Mon Oct 20, 2025 10:04 am
Forum: Deutsches Forum
Topic: C# und X509Certificate2
Replies: 26
Views: 4468

Re: C# und X509Certificate2

Hi Dick,
Chris has an error free version of this app. If he can send me his app and both dlls (PCSC*.*) I can test it and we will see if it's a install problem.
Regards Franz
by lagraf
Mon Oct 20, 2025 6:50 am
Forum: Deutsches Forum
Topic: C# und X509Certificate2
Replies: 26
Views: 4468

Re: C# und X509Certificate2

No problem Karl.
References
- PCSC
- PCSC.Iso7816
- System
- System.Core
- System.Numerics
- System.Security
- System.Security.Cryptography.X509Certificates

Errors

error CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly ...