Questions tagged as 'c#'

3
answers

Encrypt RSA in C # decrypt in java

I am building two applications one in C# and one in Java, which will use RSA as part of the encryption and decryption that should be handled. When I encrypt with java and decrypt in c# works perfect, the problem is when I...
asked by 04.09.2016 / 03:40
3
answers

How to make a NOT IN in LINQ?

I wanted to know how to do NOT IN in the next query select * from WFRules where (Class = 'DoDesign' or ParentId = 0) and ParentType not in (5,8,9,10,11) and Type not in (5,8,9,11,15,33,34,35,37,38,3...
asked by 20.01.2016 / 20:53
1
answer

Detect USB in C #

I need to show the USB connected to my computer and how to disconnect the USB as well as put it, remove or put the letter of USB corresponding in a ComboBox . I want to do it in C # , I have this code but it is in Visual Basic . Prote...
asked by 30.03.2017 / 00:53
1
answer

Error activating LTV TimeStamp iTextSharp c #

I am currently programming a digital signer in C# with the iTextSharp library. Initially the signer did the task correctly, since he signed the document, requested the pin, etc. Everything was fine, until I was asked to sign and...
asked by 18.10.2016 / 17:17
2
answers

Remove TextBox C Cursor

When a textBox takes the focus A flickering bar appears ... How can I make it so that it does not show up?     
asked by 13.04.2017 / 18:36
1
answer

Is it possible for a subprocess to end the parent process?

The problem is as follows. I have a thread that connects to a Telnet, the problem is that sometimes the telnet is stuck, or the connection is lost momentarily and the program that connects with the telnet is pointing to nothing. The proble...
asked by 06.02.2018 / 17:46
2
answers

run a .bat from C # without displaying the CMD window

I'm creating a .exe to run a .jar, it works, the only problem is that it shows a pop-up window ( CMD ) for a few milliseconds, is there any way to make this not happen? Here is my code to run the .bat : using System; nam...
asked by 08.11.2017 / 19:25
2
answers

What is the best way to validate a TextBox XAML

I have a UWP application that uses several TextBox to collect user information: <Grid> <TextBox Text="{Binding Codigo}"></TextBox> <TextBox Text="{Binding Producto}"></TextBox> <TextBox Text=...
asked by 16.01.2016 / 01:07
2
answers

Return only one field from a list in WCF

The method is like this: public List<CivarTransporteService.Model.Cliente> getClientes() { using (CivarTransporteService.Model.CivarTransporteModelContainer context = new Model.CivarTransporteModelContainer()) {...
asked by 21.01.2016 / 03:56
2
answers

Obtaining data from a grandchild form to the father

I work in a Windows Forms application, C #, IoC ninject. As the question says, obtain data from a grandchild form to the father (from the father a child form is called and this calls another form) and from the latter the data is taken and passed...
asked by 15.04.2017 / 03:09