Get resource, hashcode