Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8749375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:41:05+00:00 2026-06-13T12:41:05+00:00

I want to receive a hex calculating on: static int count = 0; string

  • 0

I want to receive a hex calculating on:

  static int count = 0;
  string s;
  private void SetClock_Click(object sender, EventArgs e)
   {
        count++;
        label5.Text = count.ToString("X2");
        DateTime time = DateTime.Now;
        s = "4D-" + "1A-" + "2B-" + "3C-" +(label5.Text);
        txtSend.Text = s;
   }

After that i remove the ‘-‘ between the code and i want to add the HEX calculated result after “(label5.text)”:

4D 1A 2B 3C (label5.text) (hex result on (4D 1A 2B 3C (label5.text))).

I can’t understand how to tell my program to get different bytes – 4D/1A/2B… This is actually what we can do with the calculator on Scientific Mode selected “hex function” and typing all those 4D 1A.. by pressing XOR.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:41:07+00:00Added an answer on June 13, 2026 at 12:41 pm

    As I understand Correctly, You want to apply XOR on your s value and store its result in HEX in to txtSend.Text If so you can try this

    s = "4D-" + "1A-" + "2B-" + "3C-" +(label5.Text);
    string [] allHaxValues= s.Split(new char[]{'-'});
    int result = 0;
    
    foreach(string haxValue in allHaxValues)
    {
       result = result ^ Convert.ToInt32(haxValue, 16);
    }
    txtSend.Text = result.ToString("X");
    

    IF label5.Text Contains 1 then result will be 41

    like

    result = 4D XOR 1A XOR 2B XOR 3C XOR 1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to receive a string, convert it to a list and write every
I want to receive a JSON object using Ruby. I've written this: require 'sinatra'
I want to receive property name and units count and specails count. I have
I have this RootViewController creation method, i want receive int value but i don't
I want to receive email to my email address through my asp.net application. Its
I want to receive rows as dictionaries in pymssql. in python-idle i ran: >>>
The user does not want to receive the approval emails in Salesforce. Is there
I have a form with: Check this if you Want to receive our newsletter:
i developed client server program using c++,so i want to receive more than 500kb
So basically, I'm posting data with wp_remote_post, and I want to receive sent data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.