I know it is impossible to 100% guarantee from cracking your real-world software. But I want only protect my product from unauthorized accessing of normal user.
.Net framework has feature about strongly-typed name that can be used to protect software because you can specific what assembly and public key token will be loaded.
So, what i...
I have tried others suggestion for using this type and somehow manage to run it, but now I have using the same way but having an error as
Error :' FYP.Form6.listBox1' is inaccessible due to its protection level
I am enclosing code below
Form6 frm4 = new Form6(this.listbox1);
for (int i=0;i<frm4.listBox1.Items.Count;i++)
{
// ...
I am trying to add an ajax form to my application. The problem is that I want to pass my input as gb2312 encoded. However I wasn't able to do
new {accept-charset="gb2312"}
as msdn suggested. I guess it's because the "-" in "accept-charset" breaks the CSharp variable naming rule. I tried to add an "@" in front of "accept-charset" but ...
I know that there is a WebBrowser component which is basically Internet Explorer but I'm highly dissatisfied with the amount of features it has + Internet Explorer's layout engine is terrible.
Is there a better alternative to that? Something like a "Gecko" or a "Webkit" browser? I tried "Skybound Gecko" but I'm sure there are some bette...
I can't find a duplicate for this question, but I honestly hope I'm not the first to ask.
I have a WCF service that is sitting inside my LAN. For .NET clients on my lan, NetTcpBinding is the appropriate binding. However, one of my clients is a PHP web application. Is there any way to do this?
Update: I am well aware I can have multiple...
I'm pretty familiar with C++, so I considered learning .NET and all its derivatives (especially C#).
Along the way I bumped into C++/CLI, and I want to know if there is any specific use for that language? Is it just suppose to be a intermediate language for transforming from native C++ to C#?
Another question that popped to my head is ...
I have a WCF service. It has multiple clients and three endpoints. The endpoint bindings are nettcp, wsHttp and basicHttp. If I attempt to connect to it via php'd builtin SoapClient class like so:
$service = new SoapClient
("http://service.companyname.local:6666/Service/?wsdl",
array(
"location" => "http://service.companyname....
I have a WCF webservice I can connect to it via basicHttp, but not wsHttp. I try to conenct to it via wshttp via the following:
$service = new SoapClient
("http://service.companyname.local:6666/Service/?wsdl",
array(
"location" => "http://service.companyname.local:6666/Service/WCF",
"trace" => true,
'soap_version' => SOAP_1...
I have converted a PowerBuilder application to 11.5 .NET. When it builds, it compiles into a DLL, an EXE and a bunch of “netmodule” files. Are the netmodules necessary for deployment, or just part of some intermediate step? Is there any way to get the compiler to build me one DLL for each pbl (PowerBuilder library)?
...
If I want my application (written in .NET) to delete a file such that it can not be recovered by disk recovery tool. What are my options?
One that I can think of is that I open it up in write mode, overwrite all of it with some random data and it would make the file unrecoverable. Is there any other way?
...
Hi,
I'm working on a site in asp.net (my first) which is all going very well. That is until I deployed the app to our test environment, where the ~ (tilde) started referencing a folder parent to the root of my project.
On my computer the app lives in c:/Documents.../Visual Studio../WebSites/MyApp and ~ resolves correctly.
On the test ...
According to this question, the most popular ORM tool for .Net is NHibernate. However, zero explanations are given. What are the compelling advantages of NHibernate over the other frameworks?
...
(See this related question for LINQ-to-SQL)
I'd like to map a class that has a URI member to a string column using NHibernate.
How exactly might I accomplish that?
I don't think the solution given to the related question works here - I can't declare a private field and map it, because the mapping needs to reference that field.
...
A useful convenience introduced in .NET 4 is Stream.CopyTo(Stream[, Int32]) which reads the content from the current stream and writes it to another stream.
This obviates the need for slightly tedious code such as this:
public static void CopyStream(Stream input, Stream output)
{
byte[] buffer = new byte[32768];
while (true)
...
could someone please tell me the identifier for the @ key?
for example keys.Escape is for the ESC key. i would like to know what it is for @
thank you.
...
Hi,
i'm trying to setup motiondetection using the AForge.NET framework. I'm using the information provided on this page.
I've setup a DirectShow videostream which feeds a part of my desktop through a stream. I can choose this stream in the sample videoplayer project which is provided with AForge. (And I see my desktop through the playe...
I created a stored procedure so as to return me a table
something like that
create procedure sp_returnTable
body of procedure
select * from table
end
When i call this sp on frontend what code i need to write to retrieve it in a datatable object.
I wrote code something like this one. I basically want to know retrieving and storing ta...
Hi, I'm getting the error below when trying to use the Windows Mobile 6 emulators please advise how I can fix:
Microsoft Visual Studio
The operation could not be completed
OK
Using Windows 7, VS.Net 2008, WinMobile 6 Pro SDK
...
I have been developing many application and have been into confusion about using dataset.
Till date i dont use dataset and works into my application directly from my database using queries and procedures that runs on Database Engine.
But I would like to know, what is the good practice
Using Dataset ?
or
Working direclty on Database.
...
From a C# 32-bit application, In need to determine whether a given (unmanaged!) DLL file is 32-bit or 64-bit.
Does anybody have working sample code that can do this with managed code, for example by using FileStream (and not by calling Windows API functions)?
...