c# - How to implement System.currentTimeMillis() method in WPF? -


i'm trying create unique tranactionid using ${=system.currenttimemillis()} in wpf textbox following :

writer.writestartelement("transactionid");  writer.writestring(textbox22.text);  <textbox x:name="textbox22" horizontalalignment="left" height="23"  margin="388,392,0,0" textwrapping="wrap" text="${=system.currenttimemillis()}" verticalalignment="top" width="120"/> 

any idea how implement correctly?

if want make time transaction id can use builtin functionality of core .net framework. one:

datetime.now.millisecond.tostring(); 

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -