Questions tagged [.net]

The .NET framework is a software framework designed mainly for the Microsoft Windows operating system. It includes an implementation of the Base Class Library, Common Language Runtime (commonly referred to as CLI) and Dynamic Language Runtime. It supports many programming languages, including C#, VB.NET, F# and C++.

The .NET Framework is not specific to any one programming language. The C#, VB.NET, C++/CLI, and F# programming languages from Microsoft, as well as many other languages from other vendors, all use the same .NET Framework.

The .NET Framework includes a large library of functions as part of the Base Class Library (BCL), including those related to user interface design, data access, database connectivity, cryptography, development of web applications, mathematical algorithms, and network communications. This extensive library simplifies development and makes it easy to rapidly develop new applications.

As such, questions like "How do I do file I/O in C#?" should really be "How do I do file I/O with .NET?". Because such a question concerns the file I/O libraries provided by the .NET Framework, it should be tagged with both the tag, and with the tag, to indicate that you'd like the answer to be written in the C# programming language.

115 questions
7
votes
3 answers

Reverse Engineering Managed Code

Is reverse engineering managed code from .NET easier or harder? I think it might be Java bytecode that can be easily converted back into source code. Is managed code from .NET similar, and why?
zer
  • 157
  • 2
  • 6
1
vote
1 answer

What is the specification for a dotnet resource, header and data?

What is the header and data structure of a .NET resource? I would like to find an equivalent type of documentation to the following, but for .NET resources: https://learn.microsoft.com/en-us/windows/win32/menurc/resourceheader As an example, here is…
Utkonos
  • 136
  • 8
1
vote
1 answer

Determine Control-Flow Of A .NET Assembly?

Using DnSpy is great, but it's very awkward to ascertain the control-flow of an executable. Is anyone able to advise on free-of-charge helpful apps that display a control-flow graph? IDA Home does not work on .NET assemblies, nor does Radare2…
Dalski
  • 31
  • 3
1
vote
1 answer

Is it possible to detect visual studio version in compiled .net assembly?

I have a .net exe file I want to find out which version of visual studio is used to compile the assembly.. Is there are any solution to find out the IDE version.?
1
vote
1 answer

Identify ldfld reference in .NET when parsing GetILAsByteArray

I was experimenting with idea of decompiling a PowerShell cmdlet using reflection. While I got some basics seem to work, how do I resolve the value in OperandField, for example ldfld cmd in this case if decompiled correctly may look like…
chentiangemalc
  • 1,235
  • 8
  • 16
1
vote
0 answers

.NET Method Tracing with Parameters

Is there a tool which can profile the .NET binaries (32-bit and 64-bit) during execution to generate an API trace providing details of the methods called and the parameters passed to each method? Since .NET is JIT based, I think it should be…
Neon Flash
  • 765
  • 1
  • 14
  • 29
1
vote
1 answer

Modified dll works as original without debugger attached

I'm trying to make some changes to .Net dll (note: dll is mixed mode module) used by an exe, ProtectionID detected nothing, so I happily jumped into dnSpy and made changes. I ran executable with dnSpy debugger and everything was working as…
K. Kowalczyk
  • 111
  • 2
0
votes
1 answer

I can't understand this algorithm

I'm trying to solve this challenge but I can't understand the algorithm. it takes the name and generate the serial with this algoritm private int Encrypt(string Input) { int num = 0; checked { …
Raafat
  • 163
  • 6