Hi uerur
if you are happy with a unique identifier then you can use a guid.
you could try this code: I've added a label "label1" and a button "Ok" on my form and the click event is:
private void ok_Click(object sender, EventArgs e)
{
label1.Text = Guid.NewGuid().ToString();
}
kind regards