|
I wouldn't make encryption the deciding factor between the choice of c++ or c# - encryption can be done well in either platform
|
|
|
|
|
So it is possible to use encryption in some way with C#? That would certainly be a desirable feature. I didn't even know you could use encryption unless I'm not fully understanding what you're saying.
|
|
|
|
|
most certainly yes - there's a whole 'namespace' System.Security.Cryptography - some of its abilities are here http://msdn.microsoft.com/en-us/library/e970bs09(v=vs.100).aspx[^]
ok, so, let me ask a questions about your 'process'
how are you going to 'start' it - are you for example going to run this new program, and pass into it (maybe via the commandline) the current password (possibly encrypted), just as a 'start' step to transition off your script
so far you've got
a) get the current password (possibly command line)
b) possibly decrypt the current password
c) find the local Administrator account
d) derive a new random password
e) change the Administrator account password to the new password
f) store the new password & possibly Administrator account name [somewhere], encrypted
g) possibly email an administrator the machine name, administrator account name, password, all encrypted with some other 'key'
|
|
|
|
|
The application will be deployed via System Center Configuration Manager 2012 to all client workstations. I haven't written any Pseudocode yet but I would basically do the following:
Set variable to new password of my choosing (it is the same on all workstations)
Find the local administrator account
Reset the local administrator password
Output the results to event viewer log
This solution only needs to be very simple.
I just found out from information security that if they can see the password within the EXE, they will accept it as a temporary solution. Not sure if this is a waste of time or not. It sounds like they will be looking for a commercial solution in the end.
modified 5-Nov-14 18:50pm.
|
|
|
|
|
Hello,
I need a sample code to implement the Conditional Activities (IfElse, IfElseBranch and While Activity). I want to implement it using C# code. Kindly provide a sample or an example of to implement the Activity
|
|
|
|
|
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!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
In my WPF application, if I click a button, it invokes a producer-consumer process.
private async void Start_Click(object sender, RoutedEventArgs e)
{
try
{
var producer = Producer();
var consumer = Consumer();
await Task.WhenAll(producer, consumer);
It will create some static results.
I want to generate a report by them then.
private void Summary()
{
}
My question is where can I call the method Summary()
I think is that to create another task, then still place it in the button event.
So the code will be like:
await Task.WhenAll(producer, consumer,Summary);
Is that correct?
Thanks.
|
|
|
|
|
My web application consume web service developed in ASP.NET C# When I try to run
it takes to long to respond, How can I resolve this issues
thx.
|
|
|
|
|
We can't answer that: we can't see your screen, access your HDD, or read your mind.
We don't even know what you consider "too long"! For some applications a couple of seconds will be "too long" - for others, a couple of milliseconds needs speeding up: but we can't tell.
Please, try giving a better idea of exactly what is going on: what your service does, where it is in relation to your app, how long it takes to respond and so forth. Because we can't help based on no information!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Hi,
To test the webservice use SOAPUI tool. This is open Source and a completely free tool. You can also use .NET tool provided to test the webservice.
Check the following for your webservice response
Network response.
Database.
Resources.
Do the ping or telnet request to the objects and servers your webservice is trying to access.
|
|
|
|
|
|
|
i capture image from webcam and displayed in dynamicDotNetTwain1 i want to save this image into my local sql server for show it in picture box.
could please help regarding the same.
|
|
|
|
|
|
i am developing ATM project where if i click on withdraw button it should capture the photo from webcam and save it database.
|
|
|
|
|
That tells us what you're writing, not what you have tried.
|
|
|
|
|
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
dynamicDotNetTwain1.SelectSource();
dynamicDotNetTwain1.CloseSource();
dynamicDotNetTwain1.OpenSource();
dynamicDotNetTwain1.AcquireImage();
}
}
}
now dynamicDotNetTwain1 have a image i want to save this image in my sql server
|
|
|
|
|
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
dynamicDotNetTwain1.SelectSource();
dynamicDotNetTwain1.CloseSource();
dynamicDotNetTwain1.OpenSource();
dynamicDotNetTwain1.AcquireImage();
}
}
}
now dynamicDotNetTwain1 have a image i want to save this into sql server
|
|
|
|
|
Wow look. I found the DynamicDotNetTwain documentation. Perhaps you might find this[^] useful. Alternatively, you could actually ask on Dynamsoft's website - they might be able to help you better than we can.
|
|
|
|
|
When a guest arrives, the valet will take or note the following details and enter them into the program: 2
• Name
• Licence Plate
The program will then assign a parking space for the car and record it as taken by that person/car.
When a guest is ready to leave, the valet will take either their name or licence plate number and the program will search using those details and tell the valet which parking space the car is in.
Once the car has been returned to the guest, the valet can again search for the car by name, licence plate or parking space number and tell the program that the car has been returned and the parking space is now free.
The program should be a console application, with a menu offering options for:
• Handling guest arrival
• Finding a parked car
• Car returned to user
• List all cars parked
• Exit program
I'm just a beginner in C# can anyone help me with this.
|
|
|
|
|
1) Don't post the same thing in multiple places - it duplicates work and annoys people.
2) As I already said in QA: We don't do your homework.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Member 11199829 wrote: I'm just a beginner in C# can anyone help me with this. Yes, there are over 10 million members so surely we can help. But for us to help, you'll have to ask a question.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
As you haven't shown code that is causing a problem I would suggest that you start having a read of this MSDN tutorial[^]
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
using System;
namespace Car_Parking
{
class Program
{
static void Main(string[] args)
{
string name;
Console.WriteLine("Valvet Parking");
Console.WriteLine("Please enter Name");
name = Console.ReadLine();
Console.WriteLine("{0} has been stored", name);
Console.WriteLine("Enter the License plate Number");
Console.WriteLine("");
LicenseplateNumber = Console.ReadLine();
int num1, num2, result;
Console.WriteLine("PLease enter how many cars");
num1 = Int32.Parse(Console.ReadLine());
int
Totalspace = 10;
Console.WriteLine("Total space");
num2 = Int32.Parse(Console.ReadLine());
result = num2 -num1;
Console.WriteLine("Sub {0} and {1} is {2}", num2, num1, result);
Console.WriteLine("{0} space is left", result);
Console.ReadLine();
{
}
}
public static string LicenseplateNumber { get; set; }
}
}
this is what i have done how do i make sure that the total is 10 and when i enter a new contact it takes the space and lets me know how much space i have left
|
|
|
|
|
use arrays, size = 10.
use classes
validate the input, if not entered correctly show message and ask question again.
|
|
|
|