How to get jobid within job?

The updated and correct way to get jobid inside a Job is now explained here Use Hangfire job id in the code

1 Like