Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).
Articles & Videos
C# is an object-oriented programming language created in conjunction with Microsoft’s .NET framework. Compilation is usually done into the Microsoft Intermediate Language (MSIL), which is then JIT-compiled to native code (and cached) during execution in the Common Language Runtime (CLR).
I have the results of Directory.EnumerateFiles as follows: (date is YYYYMMDD format)
I used to run build the solution using below command
But this command…
Does anyone know where to obtain (please provide a specific link) the Oracle Data Provider for .NET 3.5 ? If it matters I am using Microsoft Visual Studio 2008 (I know its getting old). The Oracle DB …
We have an application that uses session variables in this form:
And we collect like this in other pages:
We are using one Application Pool configured with NET 4, Enable 32 b…
I am using a .net gridview in a web form that has some columns hidden
The gridview has AutoGeneratColumns=false. Everything displays fine. The cells are made invisible on the RowDataBound event. …
Hello experts, I am doing an application in C# which open exe files like notepad, calculator.
So, my aim is when I open an exe file like Word, a button is created automatically
and then when I close…
I have been using global keyboard hooks successfully since I started using them. They have worked just fine under Windows XP, Vista, Windows 7. However, they don't work for some applications under W…
Please I need a reg ex that will do Money without the $
commas in right place
We have a webpage form in asp.net c# that write to a text file with File.ReadAllLines. Now we want to know after make the change how can we refresh the actual web page form? Because we have in the for…
I have a Form which has a splitcontainer. I also want a thin control across the top (panel??) that will hold some labels. It will be directly beneath the menu. The problem seems to be that the spl…
When I start VS2013 Ultimate version and I was asked to log into MS Work account. After logging in, I would get the error message shown in the image. I'm running on Windows 10.
Please see the ima…
I've been manually typing in entries into my AssemblyInfo.cs file (in the Properties folder) for my custom server control. Each of the entries is an embedded resource.
I am wondering a f…
If I type xx into the textbox it violates the regular expression validator. If I leave it blank, it violates the requiredfield validator.
In either case, I can simply ignore the messages and submit …
I have 2 List<string>: list_A and list_B.
it has 3 items inside each.
I got the values from api call and they are:
Iist_A : "Hello"
list_A: "I am <br><br> Isabell"
I have a c# asp.net application. Related to this application I have a complex query that gets data from a remote database, call it query-remote. I need to place all of the query-remote results from…
I have Person table and
dt has this table values.
DataTable dt = getPersonTable();
I want to have FirstName and LastName for PersonId = 4 from DataTable, dt.
How can I acco…
I want to programmatically create an array of labels and add them to a panel. None of the labels appear.
private Label dies = new Label;
private void panelAdjDieLevel_Paint(obj
This is my first time that I’m trying to setup a service to require SSL connections. The service is accessible but when I try to run one of the methods (Using both WCF Test Client as well as a Web ap…
Someone helped us here with this cod to ctach an exception and pop up a message to the user with this code:
However when the message MessageBox.Show("File is in use"); is launched the app…
//********************* this line will not compile because "owner" is …
In this class..
Person pr = new Person();
For string I use this
What if it is an integer? for example variable PersonID. What to use instead of !String.IsNullOrEmpty...
I'm using the follwoing code to export large array to Excel file, unfortunately I'm getting the attached error message.
also attached the Code.
How do I fix my code to export the large d…
I have a GridView where one field comes from a single SQL column that may contain NULL or any combination of the letters; "D", "I", "S", or "C." Example values may be; NULL, "D", "DI", "ID", "CS", "S…
Is there a way to prevent/cancel a lost focus event in a .NET desktop app?
This article describes a simple method to resize a control at runtime. It includes ready-to-use source code and a complete sample demonstration application. We'll also talk about C# Extension Metho…
Hi, There are a lot of written methos of getting the difference between two dates, but I couldn't find the one I needed. I need to have a real difference like 3.75 months between the two dat…
9,600 points this week
7,000 points this week
6,000 points this week
Apopka, Florida, United States
5,000 points this week
Geneva Area, Switzerland, Switzerland
4,177 points this week