c# - What does this code do? DllImport ExactSpelling -


what code do? have tried researching have had no luck.

[dllimport("kernel32.dll", exactspelling = true)] 

this code attribute tag supposed placed above external declaration of method located in kernel32.dll library.

in practice, see associated method declaration similar to:

[dllimport("kernel32.dll", exactspelling = true)] public static extern bool movefile(string src, string dst); 

see this msdn article details on usage.


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -