|
hi, all.
i have a problem on web service server to authenticate, "Username Token", on .NET 2.0 and WSE 3.0 platform.
The problem is that to authenticate client with Java platfrom or something, not .NET. From my understading, the client should refer the WSDL from the server-currently .NET web server. However, the WSDL file or web link such as "http://~.asmx?WSDL" does not give any authentication policy information.
So, what i am saying is that how i can append a policy to WSDL.
i have search this for 4 weeks. now i totally breakdown.
xlegend1024@naver.com
|
|
|
|
|
Hi, I'm a degree student currently working on my final year project and it involves encrypting files being dropped into a removable drive and decrypting files taken from the drive. We've pretty much done up the bulk of the program but cant seem to get around a problem with the encryption process..
Currently, the data that is written to the drive is encrypted only after file watcher has detected that is has finished writing. We're trying to find a way around this as encrypting this file after it has been copied either means that it will take up double its disk space during encryption (encrypting parts of the file in buffer and writng to disk) or taking up its equivalent size in memory (copying data to memory stream and deleting the original file then writing the ciphers to disk).
Is there any way to do something like truecrypt or freeOTFE with c#? i was thinking of encrypting the data during the user's copy operation or perhaps interrupting the actual windows file operations and using my prog to do it for the user..
We cant seem to wrap our heads around as to how this can be achieved, ATM we are stuck with the memorystream method as it provides much better performance, but large files would totally flood memory....
Any help or perhaps pointers as to where i should be looking? Its possible in linux but windows isnt open source
|
|
|
|
|
|
Well.. I am already using that for encryption, however, its the way it handles the unencrypted and encrypted data that is a problem.. My aim is to speed up the process with the minimum cost..
Is it possible to intercept data while its being transferred from one location to another and doing some operations on the data in real time?
|
|
|
|
|
If we have a textbox and a send button.if we enter the name of a person and click the send button ,the message will be send to the client in the network.plz send the source code.
|
|
|
|
|
Does the text box have plz send the source code in it and this is what you want sending? Sorry, I am a little slow in understanding.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
Does everyone want to have their job done by CodeProject's users?
SreejithAchutan wrote: plz send the source code
Tell us what you have tried and what are your problems...this way you can be helped.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
I want the source code for the work.if a user wants to send a mesage to another user ,he had to type his name and the message in a textarea and whn clicking the button it will be send to the user.how it possible
|
|
|
|
|
SreejithAchutan wrote: I want the source code for the work.
You'll get some hints. :->
SreejithAchutan wrote: how it possible
This is better.
Try this [^] article. And next time try to search Google and CodeProject for articles before asking here.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
|
I have custom control which uses a Editor derived from UITypeEditor. In the EditValue method I need a reference to the parent control which exposes a collection. I want to enumerate items in the collection in order to build a dropdown list in the property grid but I have been getting "Unable to cast object of type X to type X" errors when I try to get a reference to the parent control by casting to the parent control type from context.instance. I have seen many articles on the web about this error but no real fix. It appears that the internal versions of the object are somehow different. To cure this problem I am only accessing the parent control via TypeDescriptors. This appears to work but does anyone know how to enumerate a collection using Type/PropertyDescriptors, e.g. can you access the indexer of a collection using a PropertyDescription (i.e. col[1]). If I could do this I could read the contents of the collection OK but I can't see if this is possible.
|
|
|
|
|
class a
{
public void getdata()
{
}
}
class b
{
public void getdata()
{
}
}
main()
{
a aa;
b bb;
bb *ptr;
ptr = &bb;
ptr = &aa;
ptr->getdata();//class a getdata function
}
i was trying to call the function of class a though the object of class b.
can i do this thing using the boxing and unboxing?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Sonia Gupta wrote: class a
{
public void getdata()
{
}
}
class b
{
public void getdata()
{
}
}
main()
{
a aa;
b bb;
bb *ptr;
ptr = &bb;
ptr = &aa;
ptr->getdata();//class a getdata function
}
i was trying to call the function of class a though the object of class b.
can i do this thing using the boxing and unboxing?
Boxing and unboxing relates to linking value and reference types. It has nothing to do with pointers and references. I would take a wild guess and say you've been on some C++ sites, or talked to a C++ dev from the code above.
I think you have had a few suggestions from others here and I reiterate : GET A C# BOOK AND READ IT. Your questions are pointless, you never follow up the answers, you NEVER show any appreciation whatsoever. You just post another pointless question.
Please give us the decency of an answer to this question :-
What did you think the code you pasted above would do, or what it means? It doesn't even come anywhere near close to compiling in C#.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
i know , i can't compile this code in c#.For the sake of simplicity , to make othes understand my question/problem , i am showing it up , in this way.If i woulf have done it in c#, i would have never asked it .Don;t u think my friend?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Your response makes less sense to me than your question.
You are asking a question that makes no sense to the environment you are in!
You are asking about boxing / unboxing, and showing non C# code , in a C# forum, that attempts to take references and pointers which C# doesn't (easily) do.
It is like me asking somebody on a building forum how to build a house using small angry dogs.
It doesn't make sense.
Forget the code - ask your question in as simplistic terms as you can, and also state WHY you want to know this. Then we can help.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
Sonia Gupta wrote: i can't compile this code in c#
Have you tried unsafe blocks?
Sonia Gupta wrote:
i was trying to call the function of class a though the object of class b.can i do this thing using the boxing and unboxing?
You can call a function of class a using an object of class b type if class a is a base class for class b.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
BUY A BOOK !!!!!!!!
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi to all,
I have one string "Ganges: River Of Life" & i want to replace ':' character with space. i have following code but it is not working.
str = "Ganges: River Of Life";
str.Replace(':',' ');
Anybody tell me why this happened?
Pravin
|
|
|
|
|
The reason is that Replace function doesn't modify its parameter, it just returns new string so your code should look like this:
str=str.Replace(':',' ');
|
|
|
|
|
thanks Giorgi Dalakishvili,
code is working now...! thanks again.
Pravin
|
|
|
|
|
Glad to help you
|
|
|
|
|
Is it possible to develop Automatic Number Plate Recognition system in C#? Definetely yes But are there some freeware computer vision libraries to do this? How many time and cost it should be?
Thanks.
|
|
|
|
|
dims12 wrote: Is it possible to develop Automatic Number Plate Recognition system in C#? Definetely yes But are there some freeware computer vision libraries to do this? How many time and cost it should be?
Yes.
Don't know.
The hint is in the name ("freeware").
|
|
|
|
|
hi there
firstly, get this open source control from here:http://www.pixel-technology.com/freeware/tessnet2/
Sample code i wrote for windows form c#: u can figure out the rest
openFileDialog1.ShowDialog();
Bitmap image = new Bitmap(openFileDialog1.FileName);
pictureBox1.Image = image;
tessnet2.Tesseract ocr = new Tesseract();
ocr.SetVariable("tessedit_char_whitelist", txtparameters.Text);
ocr.Init(@".\tessdata\", "eus", false);
List<tessnet2.Word> result = ocr.DoOCR(image, Rectangle.Empty);
foreach (tessnet2.Word word in result)
textBox1.Text += word.Text + "\r\n";
|
|
|
|
|
Hello friends
I have a Managed Application, working fine on mine system.
I want to install it on the clients machine .
and the databse is on the server so .
Do i need to make a dsn of it to connect with it.
|
|
|
|