|
I haven't seen many full blown ESD applications with support for .NET. Most of the offerings at present appear to be obfuscators, with the intention of protecting the developers IP by making IL as difficult as possible to reverse engineer.
One vendor I have noticed is Crypkey (http://www.crypkey.com) has announced support for the .NET platform with its products. I'm not too sure about how secure their software is -- astalavista.box.sk might be a good resource to check out (beware though, popups are of a slightly dodgy nature).
I guess it depends upon what you need in a package. If its just to prevent others from understanding your algorithms etc., then an obfuscator may be all you need. If you need to limit people to trial periods etc., then you'll need something more advanced (but probably also an obfuscator to stop others from determining how to patch your protection). If you need a complete ESD solution then it gets even more complicated.
I think the key way ahead will be the opportunities available with web services, the ability to place parts of logic onto a separate server (under your control) which could quite happily protect logic from prying eyes, and/or patching. However, this would have to be done in a certain way to prevent users becoming annoyed with slow start-up times etc.
Incidentally, this was something I was considering looking into and writing a (speculative) article about possible protection schemes using .NET web services.
As another side note, since there are few .NET applications out there, I don't think there's a great body of knowledge in the cracking community, so for the short term you may have a marginal advantage
|
|
|
|
|
I call this function to remove the last item in a listview in details view. The problem is that the control is on a tab page, and if i call this function before the control has been viewed(ie. before the tab page with this control is shown), this function fails with the inner exception of message "Object reference not set to an instance of an object", and, the regular exception of "unable to create handle". This only happens if the control is not viewed first. Can someone help me out here.
public void RemoveLastItem()
{
int index = Items.Count;
try {
Items.RemoveAt(index-1);
}
catch(OutOfMemoryException e){ // Error is caught here!! Why ????
#if DEBUG
MessageBox.Show(e.InnerException.Message);
MessageBox.Show(e.Message);
#endif
}
catch(NullReferenceException e){
#if DEBUG
MessageBox.Show(e.Message);
#endif
}
}
|
|
|
|
|
Does dotNet will work on Apples Mac OsX in future ???
If not, dotNet is not the right thing, to be base of cross-platform development
Has anybody an idea, what the future with apple ???
|
|
|
|
|
.NET does not necessarily intend to be cross-platform but its design is such that it could be. See the mono project: http://www.go-mono.com/
Kevin
|
|
|
|
|
considering that Microsoft's Rotor project is an implementation of the clr that runs on FreeBSD, I don't think it's such a strech that they could be planning a port for MacOS X.
|
|
|
|
|
I was under the impression that the new OS X was based on FreeBSD.
If this is right, then I don't see why the MONO version of .NET wouldn't run on it.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
Hi all,
I have MS Visual C++ .NET standard installed on my PC.
I created a MFC dialog-based application with the help of wizard.
During compliation I get the following error:
error:C2065: 'ID_FILE_EXIT': undeclared identifier c:\Program\...\afxmsg_.h
error:C2065: 'ID_STUFF_GO': undeclared identifier c:\Program\...\afxmsg_.h
error:C2065: 'hIcon': undeclared identifier c:\Program\...\afxmsg_.h
error:C2065: 'hIconSm': undeclared identifier c:\Program\...\afxmsg_.h
Why I get these errors, have I missed some path info?
Any kind of help in this regard
regards
/rsasalm
|
|
|
|
|
Hi,
I have not touched .NET till now.
But I would like to try some programming now.
My question is can we program .NET in
VC6 ?
Can you please give me some idea on how to
do it ?
PS: Obviously we can use the platform SDK
for programming for .NET(I think).
But I would be missing the Wizards & stuff
in VC.NET.
|
|
|
|
|
Prem Kumar wrote:
My question is can we program .NET in
VC6 ?
No.
I vote pro drink
|
|
|
|
|
|
This is what I'm looking at doing via code:
Instantiate an instance of IE, direct it to site X and then take a screen shot of the completed page.
How can I do this?
Maybe get a handle to the newly created process and then send a windows message to it and ask it to take a screen dump of itself?
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
In XP and .Net Server, you can use the PrintWindow function. In anything else, it gets more complicated. Have a look at this sample on GotDotNet.com for some ideas.
|
|
|
|
|
Thanks.
I gave this a try, but the WindowAsBitmap returns null.
Have you tried this before?
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
Part of the problem with the original code was that it relies on bringing the window to the top, which doesn't always work on W2K/XP. I got it working in VB.Net on XP by modifying the code to use the PrintWindow API:
#Region "API"
Private Declare Function GetDesktopWindow Lib "user32" () As IntPtr
Private Declare Function GetWindowRect Lib "user32" (ByVal hWnd As IntPtr, ByRef rect As Rectangle) As Boolean
Private Declare Function PrintWindow Lib "user32" (ByVal hWnd As IntPtr, ByVal hDC As IntPtr, ByVal nFlags As Integer) As Integer
#End Region
Private Shared Function ImageFromWindow(ByVal hWnd As IntPtr) As Image
If IntPtr.Equals(hWnd, IntPtr.Zero) Then Return Nothing
Dim myImage As Image
Try
Dim rc As Rectangle
GetWindowRect(hWnd, rc)
Dim lW As Integer = rc.Width
Dim lH As Integer = rc.Height
If lW = 0 OrElse lH = 0 Then Return Nothing
myImage = New Bitmap(lW, lH)
Dim grImg As Graphics
Try
grImg = Graphics.FromImage(myImage)
Dim iDC As IntPtr
Try
iDC = grImg.GetHdc()
PrintWindow(hWnd, iDC, 0)
Finally
grImg.ReleaseHdc(iDC)
End Try
Catch
myImage.Dispose()
myImage = Nothing
Finally
grImg.Dispose()
grImg = Nothing
End Try
Finally
End Try
Return myImage
End Function
Public Shared ReadOnly Property DesktopAsBitmap() As Image
Get
Return ImageFromWindow(GetDesktopWindow())
End Get
End Property
Public ReadOnly Property WindowAsBitmap() As Image
Get
Return ImageFromWindow(hWnd)
End Get
End Property
It should be fairly easy to convert back to C#.
Also, Nish has an article on a similar topic for C++: http://www.codeproject.com/managedcpp/ijwscrcap.asp#xx174639xx
|
|
|
|
|
Thanks for this, Richard.
I'll have a bash at getting this to work in my app.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
I am looking for a free library for creating floatable docking windows (like the VS.NET IDE).
Can anyone help me with this? (it has to be freeware)
Øyvind
|
|
|
|
|
Øyvind Bratland wrote:
free library for creating floatable docking windows (like the VS.NET IDE)
Check out dotnet Magic.
I'd be interested in hearing your experiences with this.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
Thanks! I'll have a look at it.... looks good.
Øyvind
|
|
|
|
|
Hi
I'm currently working with Visual Studio.NET Professional and am trying to integrate an FTP client into one of my programs. What would be the best way to do this? Code the FTP client myself from the ground up, or is there an FTP script available here at codeproject I could use. Any help greatly appreciated.
Thanks
|
|
|
|
|
Try this...
http://www.codeproject.com/csharp/FTP.asp
|
|
|
|
|
I'm trying to access web services (e.g the CodeProject Web services) on the other side of various corporate firewalls. If I use a http proxy server that does not require "authentication" ie a username and a password, I have success. However if I use another proxy that requires authentication via a username/password, how am I able to arrange for the client machines to be configured to enable access to the web services ? Do I have to consider a design/ code time solution or is the client machine able to be "configured" somehow to know that applications (esp .net apps) requiring web-services via a proxy can be allowed access.
Many thanks
Peter Hayward
Ngarkat Technologies
Dulwich, South Australia,
Australia
61 8 8364 7060
phayward@bigfoot.com
|
|
|
|
|
Hi everybody,
I've been developing/maintaining several websites with Interdev for quite some time now, and I really like the concept of connecting to a server and maintaining ASP pages "just like that". Then I can ftp the files to the webserver when they are ready. Anyway, I installed Visual Studio .NET - and I can't find any way to connect to a website. All .NET wants me to do is "create a webservice" (Thanks, but no thanks) etc. I just can't get to maintain ASP pages in a simple manner. Of course I can drag the files into the ide and edit them - but then I might as well just go back to notepad.
I thought .NET would have a replacement for Interdev - or are the MS guys just still cooking ?
Any help appreciated!
Best regards
/Jan Hansen
|
|
|
|
|
Like Interdev, you need to create a project or solution. Look for ASP.NET application as a new project to create. Just because it's ASP.NET doesn't mean you have to have everything be ASP.NET pages... ASP pages are fine.
I had the same "issue"... but still prefer to do the local development and manually upload via FTP. I'm just one of those who isn't too comhy giving up control.
-AC
Andrew Connell
IM on MSN
andrew@aconnell.com
|
|
|
|
|
... in WebServices?
I mean for years we tried to implement encryption on data that go through port 80 (like SSL), and now WebServices enable us to send even more sensitive data over HTTP!
Have designers thought about it and can webservices be more secure. Obvioulsy they can be as secure as HTTP, but really that's not much.
Anybody have any ideas on this ?
Regards,
Venet.
--------
Black holes are where God divided by zero.(Steven Wright)
|
|
|
|
|
Actually there seem to be some security extensions of SOAP.
This documnets describes it:
http://www.w3.org/TR/SOAP-dsig
Regards,
Venet.
--------
Black holes are where God divided by zero.(Steven Wright)
|
|
|
|