Skip to main content

All Questions

Tagged with
0 votes
1 answer
48 views

Extracting a 24x24 icon associated with file type

I'm trying to extract five formats (sizes) of icons that are associated with common file types (e.g. PDF files, DOCX, XLSX, etc.). I've scraped through countless posts on StackOverflow and elsewhere; ...
Faraz Azhar's user avatar
1 vote
0 answers
54 views

how to execute binary file from the C# .NET MAUI project and get the output

Tried to execute libimobiledevice idevice_id binary file from the C# MAUI Project but everytime i get, Error: Unable to retrieve device list! var command = $"{Path.Combine(Directory....
uhsnx's user avatar
  • 21
0 votes
0 answers
37 views

C# Program to run rxvt command

I'm in a weird situation where I have a computer that only runs the commands I need if I run them through a special type of command window. I've found the shortcut to bring up that cygwin terminal is:...
Ryan Schreck's user avatar
0 votes
0 answers
38 views

in C# GetDetailsOf method does not returns actual value, but return2 item Name

Following my code in C# performs without error, however it returns just "Artist(=int 13)" instead of the actual values. I would like to know how to correct this issue. public string ...
khirai3's user avatar
0 votes
1 answer
300 views

How do I close a content page and continue to the MainPage?

I'm writting a .NET Maui application with a shell that currently has two pages. The main one I'm calling PassInfo and the second one I'm calling NewDb. my App.xaml.cs file looks like this: public ...
user avatar
0 votes
0 answers
286 views

C# MAUI ShellContent Icon

When I set an icon through the Icon property in the tag, the icon is painted in a different color and the original color of the icon (multi-colored) is lost. How to fix this? A png icon without a ...
CLAY's user avatar
  • 1
0 votes
0 answers
99 views

Create integrated terminal in C# (Mono) application

I'm working on a project where I would like to add an integrated terminal just like modern IDE's have (cross-platform Windows/Linux/MacOS). I have tested most of the basics by simply using a System....
Ruben Hamers's user avatar
0 votes
0 answers
301 views

IWshRuntimeLibrary is not recognized in Visual Studio 2022

Hi I am writing a C# WinForms program that needs to create a shortcut from the shell:appsfolder folder. I am trying to use the IWshRuntimeLibrary, but Visual Studio 2022 marks it as an error, although ...
Panos Metaxas's user avatar
0 votes
0 answers
596 views

Run a shell script from .Net Core application in Linux

I'm running a .Net Core app on Ubuntu 20.04, and I want to have a possibility to run a script (which runs some commands like git pull, stop my app service, run dotnet build, etc.) through a backend ...
virusivv's user avatar
  • 347
0 votes
0 answers
41 views

Write to process StandardInput

I am doing remote CMD shell. After writing to StandardInput i need to read output from StandardOutput but for it i need to close StandardInput. How i can write to StandardInput again? Process process =...
dinikai's user avatar
  • 13
1 vote
1 answer
41 views

Executing process with process.start causes memory segfault but starting manually in shell does not

I'm attempting to use C# to wrapper a linux executable that needs some hand holding of error and conditions. I am doing this inside a docker container and calling my C# app as the ENTRYPOINT. My C# ...
Chris Rice's user avatar
0 votes
0 answers
48 views

C# execute a .sh file, then the program is freezing

I am having issues with running this .sh file through C# on MacOS. I have tried using the following code, but it doesn't seem to work. The .sh file does not execute and I don't get any errors. Can ...
Jerry's user avatar
  • 23
1 vote
0 answers
57 views

How to detect required Runtimes for Application

I‘m currently looking for a way with which I can detect what runtimes a Program is using and output a list of each Application using Runtime X, Y, and Z and possibly the Version of the Runtime. ...
Denis Pajaziti's user avatar
-2 votes
1 answer
27 views

How do I create and remove a directory with C#? [closed]

I need C# methods are that provides mkdir & rm commands for a file system. Is there any Library?
EsprnzJK's user avatar
2 votes
2 answers
1k views

MAUI : await Shell.Current.GoToAsync take too much time

I am developing a project using MAUI and I have some issues with the shell navigation. There is the line in my code : await Shell.Current.GoToAsync(nameof(DetailMenuPage)); This execution time code ...
Alexandre S.'s user avatar

15 30 50 per page
1
2 3 4 5
24