SparkyCracked
✅ Guidance needed for encryption
Good day. I want to dive into creating my own encryption method/class. I want it to be similar to what the big companies do as I want to present it forward to the company I work at. They don't have their own encryption method.
I did some research and found the Rijndael algorithm and found it "a worthy" method. My main reason for asking for help is just to ask if you know any recourses or any existing open source methods that I can use to just guide me in completing this project.
If you know any other methods that are secure and also really well sourced please let me know. I am doing this project to further my knowledge with C# and actually have an impressive project to showcase if the company decides to not use it.
20 replies
✅ BackgroundWorker getting progress
I have a winform applications and with this I have put a ProgressBar on it. I was manually changing the progress inside functions using
progressBar.Value = <value>
but now that I run my functions in the background using BackgroundWorker, changing that progress is a little harder than I thought. If I am not mistaken the code below is defined as a 'Delegate Invocation' and I use it to run the function I would like to track progress of:
How can I give progress better?17 replies
Casting object to enum class
So I have:
And I wanna case my object to that class:
There is a reflector to determine what variable type it is but it kinda does this on runtime/compile.
I wanna know if there is a way to cast this without wrapping it
114 replies
✅ Winforms: open two forms at the same time
Good day everyone. So I have an issue (duhh, thats why I am here xD).
I am trying to get a screenshot of the users image...I am using two forms to achieve this, one to show the image and another to screenshot.
When I try open the first form
AspectRatioForm
and then the second SelectArea
. It throws the issue below:
This is the code I wrote:
Now I don't know why this is happening because if I call them separately in terms of their own functions using ShowDialog
they both show one by one (once one form closes the other will show).7 replies
Windows Form App - SharePoint Image Upload
Hello everyone,
I'm currently working on a Windows Form application using C# and have encountered an issue with uploading images to SharePoint. The objective is to allow users to upload images through the Windows Form, and I want these images to be reflected in a SharePoint table.
Here's a quick overview of my process:
1. Users upload images through the Windows Form app.
2. The app uploads images to SharePoint's siteassets.
3. The corresponding SharePoint table gets updated with image information.
The challenge I'm facing is that while the images successfully upload to SharePoint's siteassets, they don't appear in the SharePoint table.
Bellow is a snippet of code:
4 replies