Hello Mr. Pail,
Are there any updates on this?
With the latest RSTAB 9 version 9.13.0007 and the corresponding Dlubal.Api 2.13.7, the stand-alone application as well as an assembly as a DLL unfortunately still do not work.
The command line version works:
Hello, World!
C:\DEVELOPMENT\Experiments\RS9VSC\bin\Debug\net8.0
Running without SSL
Version: RSTAB 9.13.0007
BASE DATA:
{ "main": { "modelName": "Testfile", "modelDescription": "Test", ... } }
It is running ....
Closed.
Finished.
Code:
using System;
using Dlubal.Api.Common;
using Dlubal.Api.Rstab;
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using Rstab = Dlubal.Api.Rstab;
Console.WriteLine("Hello, World!");
ApplicationRstab? RstabApp = null;
Console.WriteLine(Directory.GetCurrentDirectory());
try
{
RstabApp = new ApplicationRstab(apiKeyValue: "ak-...");
ApplicationInfo applicationInfo = await RstabApp.get_application_info();
Console.WriteLine("Version: " + applicationInfo.Name);
Rstab.BaseData? baseData = await RstabApp.get_base_data();
Console.WriteLine($"BASE DATA:\n{baseData}");
if (RstabApp != null)
{
Console.WriteLine("It is running ....");
}
else
{
Console.WriteLine("NOT running!");
}
}
catch (Exception ex)
{
Console.WriteLine($"Error: {ex.Message}");
}
finally
{
if (RstabApp != null) await RstabApp.close_connection();
Console.WriteLine("\nClosed.");
}
Console.WriteLine("\nFinished.");
Is a solution to be expected in the foreseeable future?
Best regards,
M. Beck