|
The "browser" can track passwords; why do you think you can do better?
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Why better? I want to store all the passwords that I have written to the database.
Best regards
Thanks.
Lubos
|
|
|
|
|
The problem is your code has NO WAY OF
1) identifying a password field in any web page.
2) knowing that field is filled in with a CORRECT password
3) knowing that the form was submitted signalling that the password entry is complete.
There is a reason why you don't see these applications being written the way you're attempting.
|
|
|
|
|
Not important website. Important are the last two words that I wrote.
Thanks.
Lubos
|
|
|
|
|
You'll have to learn "web page automation" then, because not all password fields allow "pasting".
And you might as well tag on a key logger.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Thanks. See bellow.
Thanks.
Lubos
|
|
|
|
|
So how are you going to determine what is a typed "word" in another application?
Hint: You're not.
|
|
|
|
|
On any page, I want to log in, I enter login and password. I press a combination of keys and login, password and the URL are stored in my database. What simple . Only solution is not so simple.
Just a friendly password manager.
Thanks.
Lubos
|
|
|
|
|
Apparently, I'm talking to a brick wall.
|
|
|
|
|
Hi Dave. I really like your statement "Apparently, I'm talking to a brick wall." It's true. I do not believe I can not read what I see right now on display. I do not want to read some of the other databases, just from what I see right.
Best Regards
Thanks.
Lubos
|
|
|
|
|
YOU can see it just fine. Your code, however, is literally BLIND, it can't see anything. You have to figure out how to tell the code where to find the data you're looking for on every web page you're going to support. Good Luck with that. You're going to need it.
Oh, and just to complicate things, site usually end up reworking their pages every so often, moving things around and renaming input fields.
|
|
|
|
|
|
All passwords disappear after cleaning Windows.
Thanks.
Lubos
|
|
|
|
|
How can I create ASMX Web Service in asp.net C#
modified 11-Apr-17 10:59am.
|
|
|
|
|
Member 10291661 wrote: Any Idea ?
Yes. Do your own homework.
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.
Try it yourself, you may find it is not as difficult as you think!
If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I have change my question, its not homework, i am learning Web Service and try to make Stock exchange project..
So I am asking how can I create ASMX Service in asp.net C# and how to access from Web application?
|
|
|
|
|
|
Message Closed
-- modified 30-Apr-17 23:58pm.
|
|
|
|
|
Read what I said.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Message Closed
-- modified 30-Apr-17 23:56pm.
|
|
|
|
|
Actually, you did ask me.
You used the "Reply" widget on one of my posts, not his. Check the indentation / parent message line...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Do you have a specific question?
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
"asmx" is "legacy" technology.
Unless you want to be "obsolete" right from the start, you should read up on what is "current" in terms of REST (and web services) for "new" development.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Have you got the things done? If yes, please share.
|
|
|
|
|
I have the following code:
private void AddService()
{
MyService service = new MyService();
_services.Add(service);
service.StatusChanged += Service_StatusChanged;
AddStatus(string.Format("Service '{0}' created", service.ServiceId));
var newTask = Task.Factory.StartNew(() =>
{
service.Start();
}, service.CancellationTokenSource.Token)
.ContinueWith(task =>
{
switch (task.Status)
{
case TaskStatus.RanToCompletion:
AddStatus(string.Format("Service '{0}' completed", service.ServiceId));
break;
case TaskStatus.Canceled:
AddStatus(string.Format("Service '{0}' cancelled", service.ServiceId));
break;
case TaskStatus.Faulted:
AddStatus(string.Format("Service '{0}' errored", service.ServiceId));
AddStatus(task.Exception.ToString());
break;
}
App.Current.Dispatcher.Invoke(() =>
{
Services.Remove(SelectedService);
SelectedService = null;
});
_services.Remove(service);
AddStatus(string.Format("Service '{0}' removed", service.ServiceId));
});
}
Towards the bottom is a section called "Remove the service". This removes the UI model from the list and removes the service class from the internal list of services.
If the Task.Status is RanToCompletion or Canceled, the the remove code works fine. However, if Task.Status is Faulted then the UI portion inside the Invoke doesn't work. It hits the
Services.Remove(SelectedService);
SelectedService = null;
but doesn't actually remove the model.
Anyone know what's wrong?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|